News for hackers. Stuff that matters.
Re:Why clean code is more important than efficient code by wolfgangK on Sunday June 19, 2011 @07:16PM (#2672252)
Because it is easier to make clean code efficient than to clean efficient code. (I m talking about implementation (in-)efficiencies, not architectural ones)
Re:Why clean code is more important than efficient code by prodigal_erik on Sunday June 19, 2011 @07:38PM (#2672304)
Optimizing clean code is easier, but you're gambling that your overloaded service will only lose credibility slowly enough to give you time to finish (e.g., Twitter found themselves on very thin ice for a while). Refactoring efficient code takes more work but doesn't come with that kind of deadline, it just slows down maintenance in the meantime.
Re:Why clean code is more important than efficient code by mnutt on Sunday June 19, 2011 @09:22PM (#2672491)
Yeah, it's unfortunate that when your clean but inefficient code falls over, the engineering department takes all of the blame. But when your efficient but unclean code doesn't allow you to iterate as quickly, it's harder to place blame.
Re:Why clean code is more important than efficient code by wolfgangK on Monday June 20, 2011 @04:42PM (#2675941)
In my experience,it is much easier to find talented coders willing to improve the performance of clean (or at least sane) code than to find ones willing to endure insanity. This should not be underestimated when facing turnover in your development team.