|
|
|
|
|
by YeGoblynQueenne
3695 days ago
|
|
>> Prototypes are flexible. They don’t have all the ceremony that’s behind
class-based OOP. In that sense, they’re fun to use. But they don’t scale well
for larger applications and that’s why people jump straight to classes. Yeah, well, unfortunately class-based OOP (as the article puts it) also doesn't
scale that well, as anyone would know who's had to work on a 10+ years old
codebase written in Java or C# (the typical big-OOP languages). That's why you
can google 'dependency injection' and get some 2,180,000 results. Because even
with all the big-OOP you can get, scaling up and maintaining a project long-term
is pain. Btw, I've mostly worked with C# and it's not that I like javascript particularly (I
mostly hate it and left to my own devices I'd use Prolog everywhere) but the whole
OOP thing just sucks so badly. There must have been a better way to use Dr Minsky's
great idea [1], what we got now is no good. [1] https://en.wikipedia.org/wiki/Frame_%28artificial_intelligen... |
|
The popularity of class-based OOP is undeniable. People understand that there is no perfect solution. What would you use in its stead?