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

When you have to change something like that, it's time to write some tests. Regardless of if the code is in a single place or distributed.


When you have to change something like that, it's time to write some tests.

So what do you do if that's not practical? See my other comment in this subtree where I give more background information. Sometimes the cost/benefit doesn't work out at that moment. (And believe me, we would've loved to refactor that whole thing!)


Cry, mostly.

This type of thing is going to be terrible regardless of if it was in one place, if you can't test it.




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

Search: