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

Sounds like my life these days. Been given some smelly code (2k loc) that I cannot fully comprehend, so I just went out and naively refactored it.

Code was covered without assertions, so I insisted spending some time into writing at least a few while everyone else just asked me to test. And of course once in production tons of bugs started to appear. I still believe I can write system tests though.



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

Search: