News for hackers. Stuff that matters.
Re:Why Functional Programming Should Be the Future of Software by leidenfrost on Wednesday November 02, 2022 @03:00PM (#33441214)
On the other hand, it's really frustrating to explain this kind of things to the most Juniors. Many of them were too confident on their code because "they had everything in their heads" and anything else was like an incoherent and overcomplicated ceremony. "Why do all that when I can do a simple index.js file and add a simple if and that's it?"

There's a catch with FP, where many of their implications impose you to write better code. But it's not mandatory to go the functional way to do that, and I always try to explain the importance of those fundamental principles to other people, and they can try to implement it in whatever style they desire.

But when someone just doesn't want to learn, they always see me with a smug and gatekeeping attitude and I can't help but see them as people that just don't care at all.

Re:Why Functional Programming Should Be the Future of Software by theCodeStig on Wednesday November 02, 2022 @10:53PM (#33446384)
In contrast, I find juniors to be the easiest to teach. Those with more experience, are stuck in their ways, often stubbornly.