3 ms·
Learning a functional language is a great idea especially if you never intend to use one after you've learned it. It's like speaking a second language. Has a gr
by alkonaut 13y ago
Learning a functional language is a great idea especially if you never intend to use one after you've learned it. It's like speaking a second language. Has a great effect on the understanding of your own language.
At university the first thing everyone had to (in programming) do was a Haskell course. Felt weird at the time, but in hindsight it was fantastic. It meant everyone had to throw their preconceptions about programming out the window.
It didn't occur to me until recently (10-15 years later), that functional concepts are actually a good thing to apply in any language; that it makes code parallelizable, modular, maintainable, testable, and so on. I just thought functional was functional (i.e. elegant but hard) whereas imperative was imperative (inelegant but easy). Much like the difference between algebra and arithmetic.
So go learn a second language, or even a third. Even if you intend to speak english and Java for the rest of your life. I'd choose Haskell and Spanish.