Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I had a gig once where my predecessor was a Haskell guy and had written Haskell-in-Javascript :( The comments were things like "this is a simple functor that produces a monad that, when curried to a function, will return a lambda that will do what we need".

Needless to say, I wrote zero lines of code during those two weeks, and the company shut down shortly after that.



So even if js is capable of being written with the structure of a functional language, doing so renders it incomprehensible to other js programmers?


Eh, most languages are capable of being written functionally, but bringing a completely different language's idioms in results in unmaintainable code.

At the very least they needed to hire a Haskell dev, not a JS dev, even if the language itself was JS.


A sign of a good programmer is that he can write in Fortran in any language at hand.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: