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

That's a practical design problem, not a fundamentally-necessary evolution of code.


You don’t think handling edge cases and errors is fundamentally necessary?


The real trick is doing both. Code that reads like a short story while including error handling and edge cases. This is achieved in a practical way by first keeping it as simple as possible only implementing strictly necessary abstractions. When the code reaches a "tipping point" then refactor. Rinse and repeat. If the code is structured reasonably that refactor should be mostly limited to the trouble spot.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: