Linked by Thom Holwerda on Fri 15th Feb 2013 10:40 UTC
General Development "Since I left my job at Amazon I have spent a lot of time reading great source code. Having exhausted the insanely good idSoftware pool, the next thing to read was one of the greatest game of all time: Duke Nukem 3D and the engine powering it named 'Build'. It turned out to be a difficult experience: The engine delivered great value and ranked high in terms of speed, stability and memory consumption but my enthousiasm met a source code controversial in terms of organization, best practices and comments/documentation. This reading session taught me a lot about code legacy and what helps a software live long." Hail to the king, baby.
Permalink for comment 552645
To read all comments associated with this story, please click here.
RE[2]: Code Review
by bowkota on Fri 15th Feb 2013 17:12 UTC in reply to "RE: Code Review"
Member since:

I have a love/hate relationship with articles like these.

On the one hand it's great to promote readable code, but sometimes I think people get too hung up on what they deem as perfect syntax and can sometimes miss the point of those clever optimisations.

It's a bit like grammar Nazi's who love to correct peoples comments but rarely read deep enough into those posts digest the content being explained.

So I guess what I'm trying to say is that it's good to be reminded about preferred programming practices, just as long as we don't forget the other criteria (usability, performance (if applicable), deadlines)

Well said but you have to remember that your first point about readable code has a direct relationship with usability and performance, which you mention at the end. I'm not a programmer but as a scientist I use other people's code for my work and the readability of their code has a great effect on the usability and performance of my work.
This might apply more often to science than game development but I still think it's a relevant point.

Similarly, a well structured post with good grammar and punctuation makes it much more coherent and thus easier to convey your thoughts.

Reply Parent Score: 3