3 ms·
Prefer or know? Despite being taught functional programming, I didn't get it until I learned Clojure. If my first language had been a Scheme instead of Basic
by tsmarsh 10y ago
Prefer or know?
Despite being taught functional programming, I didn't get it until I learned Clojure.
If my first language had been a Scheme instead of Basic / Java I probably would have preferred functional languages.
Now functional languages are another tool in my belt, and I frequently apply their patterns when I'm in more imperative languages.
- WayneBro 10y agoI think most people prefer imperative languages, even after they've learned about functional programming. The simple evidence that I see is that functional programming has been around for a long, long time and it never took off except for in certain niche circles and academia. Do you prefer functional programming or not? It sounds like you do (or at least very open to it) although you didn't learn Scheme first... So why does everybody else have to learn Scheme first in order to reach the same conclusion as you? I don't think it's true. I didn't learn SQL first and now I prefer that DSL for a whole host of problems. People aren't really that static. Functional programming patterns are certainly very useful to know. However, the fact that you can apply those same patterns elsewhere seems to seems to negate the need for switching to purely FP languages because you gain next to nothing and you lose almost everything.
- deleted 10y ago[deleted]