Hacker News new | ask | show | jobs
by WildUtah 3435 days ago
Real Programmer can write FORTRAN programs in any language.

That's why Haskell exists. It's the computer scientists' best attempt so far to create a language in which it's impossible to write FORTRAN programs.

2 comments

I dunno, combining the do statement, the <- assignment operator that I learned from R, and the forM_ monad, I think I could write some good Fortran.

Haskell also appears to have a very interesting form of goto:

https://wiki.haskell.org/Compose#Using_Cont

With Haskell's advanced type system, could we recreate implicit int/real typing, and perhaps even EQUIVALENCE?

Hat tip for anybody that pushes a MonadGoto into hackage, with the obvious Goto and GotoT implementations :)

Bonus points for also implementing the ComeFrom interface from Python's comefrom joke package!

They accomplished that by creating a language in which it's impossible to write programs in general ;)
For what definition of "impossible". All I need is Turing completeness and time.. ;)
Ladies and gentlemen, this is a real programmer :).