
11 Jul
2018
11 Jul
'18
11:09 a.m.
but functional programming is harder.
There's no doubt that languages like Haskell go through extra efforts to make it *harder* to write incorrect code, and along the way they also make it harder to write code at all. So maybe it will take your guy a week to get the code written in Haskell, whereas a couple days were sufficient in Java. But that's without counting the subsequent month during which the Java code will have to be debugged before it actually works ;-) IIRC it was Bob Harper who said a good programming language should be hard to write (but easy to read, of course)? Stefan