3 ms·
People miss the point of OOP as practiced (vs what the revered ancients intended). Alan Kay wanted biology and we got it, just the taxonomy system instead of c
by pragmatic 3y ago
People miss the point of OOP as practiced (vs what the revered ancients intended).
Alan Kay wanted biology and we got it, just the taxonomy system instead of cell biology.
OOP with classes is a way to classify and organize code.
The problem with the functional paradigm is there’s less clear patterns for code organization.
Check out the average typescript project (or just any successful long lived js project) and the code organization is all over the place.
Not saying you can’t organize a function and module system, it seems like a bigger challenge.
- warmedcookie 3y agoTrue, good code organization creates patterns and patterns create efficiency because humans are good at following them. When code is scattered and/or inconsistent in its design, I feel less productive. NestJS and similar modular frameworks do a good job at keeping code organized while allowing for scalability.