I think developers sometimes get too obsessed with code quality thinking that smarter code makes …
I think developers sometimes get too obsessed with code quality thinking that smarter code makes them a better developer. In fact I’ve seen developers fall into the trap of mistaking their code as the product and thus spend so much time beautifying it that that fail to ever release anything. Then you have the other end of the spectrum where people are too focused on hacking stuff together that the end result is unmaintainable. The reality is there needs to be a bit of both to be a good developer. For example, if you’re building a proof of concept (POC), then it’s more important to prove the idea than it is to define the architecture. And the reason for that is because you don’t always understand how the final product (whether it’s commercial software or a FOSS library) is best architected until you’ve gone through a few drafts of the idea. So spaghetti code isn’t necessarily a bad thing. But then when you know your idea works and you need to flesh it out into something more durable, you start to refactor the spaghetti into something more maintainable. …
Original discussionJohn Carmack on Fabrice Bellard463 source comments · at import