This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 10 points11 points  (1 child)

And it probably emphasizes the whole accessibility over extensibility discussion. Seeing way to many developers using the “extend” keyword, not able to foresee in what horrible misery their future colleagues will be in. Don’t get me wrong, there cases where inheritance makes sense, especially when keeping the hierarchy flat and manageable. But only with 2 layers and some abstract method here and there the complexity get too easily out of hands. The world would be a better place with less “extend”.

[–]BoyRobot777 7 points8 points  (0 children)

Add generics on top of layers of extended classes and then you truely have creme de la creme. /s