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

I disagree. In my experience, competently written Haskell is quite clear to most competent programmers.

I interviewed for jobs a few months back. When people asked me "solve this puzzle in any language you like", I usually used haskell. The solutions were just simpler and cleaner in Haskell than in Python/Java/etc. Apart from minor conventions they were unfamiliar with (e.g., "What's Maybe"), not a single interviewer had a problem understanding what I did, even though most had never used Haskell.

One company even had me demo some code I wrote (great interview technique, BTW), and I picked a Haskell project [1]. They literally stopped my detailed verbal explanations and told me: "no need to explain getFileHandleOrNothing, this all looks pretty clear and obvious. The only thing we needed an explanation of was your monad, the rest is clear."

You advocate that more emphasis should be placed on new languages that force people to write good code. That's what Haskell and other FP languages do.

[1] https://github.com/stucchio/Mp3FS



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

Search: