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

I’ll add a controversial opinion, specific to programming an application:

Premature Abstraction is the root of all evil.

Don’t panic! The code will be a mess. Let is be a mess. Don’t abstract too early, or the eventual mess that regenerates will be even worse than without an abstraction.

If a part of your application or assumptions in a piece of code haven’t changed for 12 months, then abstract that part of your application. However, only abstract the bare minimum.



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

Search: