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

> Very few abstractions exist in general application development. Just write the code you need.

I don't try to foresee abstractions (premature optimization), but I often encounter them when adding to a codebase. A recent example would be a tool that uses property info from a public database. The first version was hard coded to the database from one jurisdiction. When I added support for a second jurisdictions, abstractions helped avoid code duplication.



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

Search: