4 ms·
I was going to say OOP aside from the basic animals and calls example, takes years of indoctrination for people to find it the simple default way to do things.
by carlmr 4y ago
I was going to say OOP aside from the basic animals and calls example, takes years of indoctrination for people to find it the simple default way to do things.
Functional programming is much simpler, but we don't spend years hammering the concept into people's brains.
- soco 4y agoI program Java to earn my living and any hierarchy deeper than two is a bad smell for me. Not that it cannot have its place, but most of the time you're right, some find so fascinating to inherit everything from everything...
- carlmr 4y agoI remember sitting in these lectures thinking, why not just use a function without all the boilerplate? And a decade later the programming world finally came back to some semblance of sanity.
- crabmusket 4y agoBecause for some reason most OO learning material seems to be focused on syntax and language features, not design. It's a real shame.
- OOPMan 4y agoAh yes, functional programming is indeed so much simpler. I'll just use a Kleisli XD
- Akronymus 4y agoWith helping acquaintances learning programming from 0, I have a sample size of n = 2 that starting with FP got them to grok basic programming within a very short amount of time. And IME moving from FP to OOP is MUCH easier than the other way around. Don't really have the knowledge to compare iterative vs functional for a complete beginner, though I suspect that even there moving from FP to iterative is easier.