Object-Oriented Programming – The Trillion Dollar Disaster ️
medium.com
medium.com
We all can say negative things about any paradigm or pattern - but this is quite a hit piece. Proposing "functional programming" as a replacement is quite ignorant of many (vast majority?) of platforms and realities of programming different kinds of software (especially event driven).
Functional Programming is notoriously hard to ramp engineers onto, or for folks that join a team with a codebase written as such it can be extremely difficult.
Maybe I should write one; "Medium - the Trillion Dollar Mistake"
One doesn't need to look for conspiracy theories about functional programming when there is none.
I'm sure there are a few decent observations in there that might be novel, but it's not really worth plowing through predictable rants about mutable state, inheritance, tortured DI architecture, and software-is-not-animals to get to them.
He didn't really acknowledge many of the things one might do in modern OO design to address those things, like favoring delegates and interfaces over inheritance, favoring shallow class hierarchies, or not inverting control just to unit test.
This isn't surprising, since one of the core tenets he puts out early is that his issue is OO is a loaded gun that lets you shoot yourself in the foot despite best intentions, vs. (apparently) FP that always keeps you honest by limiting your options.
Most of this probably sounds familiar. Overall, it feels like it's been written by someone who hasn't been around the scene long enough to know exactly how well-trodden their criticisms are.
I don't have a source for it though. apparently some emoji are allowed: https://news.ycombinator.com/item?id=18495803
Opened it up, saw a bunch of emoji's and subsequently decided this was not serious enough to warrant my time.
It'd be cool to have something automated to de-mojify articles and such, I've encountered this style of emoji-heavy writing before.
Or is this just Sturgeon's Law at work?