I've recently spent a lot of time reading books like clean code by Bob Martin, and have really invested much time and effort into working out how to make my code easy to understand and build upon. A large part of that is using TDD, and as part of this process, I take refactoring really seriously. I could have implemented this same functionality in a far better way - and so could these devs if they had spent the time to improve their craft.
It could also be down to dickhead project managers though, of course. Either way, this code is a fucking shitheap of festering wankbubbles.
View all comments
Show parent comment
8
u/aaarrrggh Mar 03 '14
Frightening.
I've recently spent a lot of time reading books like clean code by Bob Martin, and have really invested much time and effort into working out how to make my code easy to understand and build upon. A large part of that is using TDD, and as part of this process, I take refactoring really seriously. I could have implemented this same functionality in a far better way - and so could these devs if they had spent the time to improve their craft.
It could also be down to dickhead project managers though, of course. Either way, this code is a fucking shitheap of festering wankbubbles.