2 ms·
> If you want a really good (non-individual) example, take React React is probably not a good example, because it didn't really expose its users to the horror
by azangru 6y ago
> If you want a really good (non-individual) example, take React
React is probably not a good example, because it didn't really expose its users to the horrors of OOP. There wasn't much inheritance and subclassing going on in the userland; you didn't really see SecondaryButton component inherit from the Button component and override its "render" or "onClick" method. True, there were some such codebases, but it was extremely rare. So no, I don't think React users have ever experienced the full extent of OOP, where you have to hunt through your codebase up the hierarchy chain for the bit of code that is misbehaving.
- JMTQp8lwXL 6y agoI can tell you the one time I ever worked on a subclassed React component (large codebase too-- so it was a unique situation), it was not a joy.
- jamil7 6y agoYikes I had a colleague years ago who was doing this, caused all kinds of fun bugs.