Why learning Haskell/Python makes you a worse programmer
lukeplant.me.uk
lukeplant.me.uk
I'd advocate learning Haskell for use in problem spaces where Haskell would be most appropriate rather than walking into work with your Haskell goggles on. This problem gets magnified if you work with others. Unless you want to foist a language they won't even use on them, stick with the code that is most idiomatic and understandable for the language in which you are working.
Does anyone have any advice for a Python/Clojure nut who has to write Java from time to time?
It works for me with C#.
I do frequently: copy-paste fields from specification, make namedtuples from it, write/debug logic, and then: generate C# classes, rewrite logic in C#.
Rewriting in C# is not annoying for me. I just can't play with different ideas in C# as in python.
(And I can't imagine how I can write SQL without python!)
I mean, yes. I can write shorter and more expressive solutions to a problem in Python, and I dislike writing code in Java especially if I can see how this would be easier in python or in haskell... but if I just write idiomatic, good Java/C# code in the respective language, the code will look pretty well.
So.. I don't buy this at all.