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

On a module or service scale I recommend using TDD [0]. It takes some time before writing actual code, so I can use that time to think about clean and effective architecture. After that, I have less time to write actual code, so most of my efforts are going into just painting red tests green, and not overengineer or thinking about phantom future use cases. After all, I have code AND tests, and it's always nice to have.

[0] https://en.m.wikipedia.org/wiki/Test-driven_development



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

Search: