3 ms·
This sounds to me like the journey into functional programming. I've experienced the same thing myself.
by hurril 4y ago
This sounds to me like the journey into functional programming. I've experienced the same thing myself.
- AndrewDucker 4y agoI've encountered this pretty-much every time that I've learned a new language or framework. I start out trying to use it the way I've used things before, and then I slowly learn how the people who wrote it expect me to work, and then things get a lot easier.
- hurril 4y agoThat too and I don't think I'm even done with that, myself :) What I meant is the step away from the notion that things are objects, stuff gets done with methods, methods are available via mixins/ inheritance/ magic, etc. I've seen the notion of using values and pure functions as data oriented programming recently but never understood what that moniker adds.
- AndrewDucker 4y agoI think that going with pure functions/functional programming simplifies things, because it makes it much easier to test that things work as you'd expect when you don't have side-effects/state to think about.