“Compile-time hierarchy of encapsulation that matches the domain model was a mistake.”

https://en.wikipedia.org/wiki/Casey_Muratori

you are viewing a single comment's thread
view the rest of the comments
[–] 8 points 1 year ago

So much time in my undergrad designing stupid inheritance hierarchies for systems (petrol stations, web servers, guidance systems), none of it even remotely applicable in my actual career as a dev. In fact, practically every time someone had done something “clever” with inheritance it caused subtle bugs or made maintenance and extension much harder than it should have been.

  • source