Hacker News new | past | comments | ask | show | jobs | submit login

> 2. Unit tests force you to think about code structure. Code not covered by unit tests is usually much worse in terms of readability and maintainability. (It is hard to write unit tests for huge functions or for spaghetti code but integration tests are not affected by this.)

This is my biggest issue with TDD proponents. Like... you don't need TDD to learn to code properly!




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

Search: