Re:Ask HN: How obsessive are you with your code?
by paulcarey on Saturday July 03, 2010 @07:38AM
(#1483680)
When I was employed as a developer, I was quite obsessive about refactoring my code to the point where I considered it elegant.
Now I run my own company and am the sole developer. So these days I tend to think if my code is well factored, I'm doing it wrong.
It's not quite that simple of course. The lower down the stack a chunk of code lies - the more things that depend it - the more I want it well factored and well tested. But I'm quite comfortable with code high up the stack being scrappy, hacky and untested.
Now I run my own company and am the sole developer. So these days I tend to think if my code is well factored, I'm doing it wrong.
It's not quite that simple of course. The lower down the stack a chunk of code lies - the more things that depend it - the more I want it well factored and well tested. But I'm quite comfortable with code high up the stack being scrappy, hacky and untested.