News for hackers. Stuff that matters.
Re:Your Code is My Hell by epochwolf on Monday August 22, 2011 @12:41PM (#2913035)
I deal with this at work. The code has never been refactored. There are unit tests for some areas but the views and controllers have so many lines of code and so many unneeded branches that attempting a test there is near impossible now. As soon as I came to the team I've managed to accomplish two minoir refactoring jobs in small areas of the code. I've pitched a more major refactor to the team and now we just need to get it passed our manager.

My own projects generally lack extensive testing (and the code lacks complex code paths) but I refactor heavily.

Re:Your Code is My Hell by SoftwareMaven on Monday August 22, 2011 @10:36PM (#2915100)
How can you refactor heavily with minimal unit tests? How do you ensure you aren't breaking things?
Re:Your Code is My Hell by epochwolf on Monday August 22, 2011 @11:36PM (#2915237)
Because there is very little code that's affected. Most parts of my app are largely isolated.