Hacker News new | ask | show | jobs
by OkayPhysicist 1029 days ago
This also applies to code. I come across the situation A LOT in OOP codebases that they have completely superfluous interfaces and/or abstract classes, that are made pointless by the fact that every single implementation extends some example implementation. The most egregious example I ever found was a Minecraft mod which had an interface, implemented by an abstract class, which had another abstract class that extended it, which was implemented by a an example class.

Every single mod I could find (sample size of ~1000) just extended the example.