Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or, in terms of OOP, wrong abstraction is when you have subclasses with pretty much everything redefined in each.

I don't think this is very common though. You will more likely see a lot of duplication in poor legacy code, and not because the coders were so clever, but quite the opposite: it's when they barely even understand how to extract abstractions.



Or baroque structures of abstractions where you have a real problem finding where stuff actually gets done - sometimes combined with a need to base all application classes on a common shared abstract base class even though they really don't share anything.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: