4 ms·
> Was software reinvented in the past few years while I was sleeping? > Is functional programming taking over the world? Yes and yes, and it's awesome! :) Pre
by bjourne 14y ago
> Was software reinvented in the past few years while I was sleeping?
> Is functional programming taking over the world?
Yes and yes, and it's awesome! :) Previously functional programming was mostly an academic pursuit but in the last decade it has definitely entered the mainstream. Once you understand FP, you become a much more skilled programmer and can make more efficient solutions even in languages not designed for FP like C.
> Is understanding things like Monads and Promises now a must have
> for anyone calling themselves a programmer / developer / software engineer / hacker?
I don't understanding it per se is the water branching point. Instead the difference between an "office drone engineer" and a hacker is a natural curiosity and interest in learning new things. An office drone will say "damn! now i have to learn this NEW thing, argh." A hacker will instead enjoy it and have a very fun time learning about monads.
- eranation 14y agoI love learning new things, but only if they serve a purpose, "back in the days" the "new things" were ground braking technologies like XHTML, Adobe Flex / MS Silverlight / JavaFX. Thank God I was an "office drone" back then and skipped it. (I don't have the time to waste, I have 2 small kids and I rather spend time with then then learning things for fun, no matter how fun it is) And when I learn something new, it's rarely a new language construct, I rather create something new, or learn a new technology, not a design pattern. (e.g. can't wait to find some spare time for Meteor 0.5 experimentation. I wonder if I can write a TypeScript interface for it) So call me an office drone, but if Promises are syntactic sugar, I rather have my coffee unsweetened.
- bjourne 14y agoI don't know if I agree that learning technologies that does not prove to be commercially viable are a waste of time. You can learn a lot from a topic even if it is not directly related to your income. Machine learning is a hobby of mine, which I, sadly, haven't had the chance to work with professionally. But by learning about it, I think my mind has sharpened and I think I now have a much better grasp of linear algebra which is related to my work. Similar experiences can probably be derived by learning about JavaFX, like understanding its pretty smart canvas api. Silverlight has, I don't know, state of the art drm technology for video streaming? The point is that learning is almost always a good investment that pays off. If you love what you are learning about, then the investment becomes much smaller and the payoff almost immediate.
- recursive 14y agoIn general, I get excited about learning new things. Regarding monads, I've made several efforts to grasp them over the course of multiple years now. I no longer get excited about trying to understand them. I'm currently taking Odersky's functional programming class at Coursera, and that has been coming naturally to me. But monads seem to inhabit a magical space which my mind cannot enter.