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 552838
To read all comments associated with this story, please click here.
RE[6]: Comment by ilovebeer
by ilovebeer on Mon 18th Feb 2013 20:45 UTC in reply to "RE[5]: Comment by ilovebeer"
Member since:

"You can't get around the fact that if the software works it has been engineered correctly because it's doing what it was designed to do."

It works...until it doesn't.

Or, .... it works fine without a single problem until the software is no longer needed.

As long as it's limited to personal code, and the original developer doesn't care about how it's engineered, then maybe it doesn't matter to him. But if he's working in a corporate setting, some other poor sole will inherit that code and he'll be none-to-pleased to learn that the earlier developer completely disregarded code quality in his work.

Or, ... regardless of the personal or corporate environment, somebody else assumes responsibility of maintaining it and has no problem understanding or adapting to the previous coders "quality" and coding style.

Or, ... the code, regardless of environment is easily maintained because its duties simple and how "beautiful" or "crap" is in someones opinion is irrelevant.

Or, ... the code doesn't even need to be maintained.

Of course there are different opinions, especially with details that come down to different tastes. But ask them if they think the engineering doesn't matter at all as long as the end product works. The good software engineers I know are proud of good engineering.

I never said engineering doesn't matter at all. I said if the software works as intended and is stable, it has been engineered correctly thus implying the engineering does in fact matter.

Since you guys seems to completely disagree with me, what is the exact deciding factor as to whether or not code is "good"? What is the exact deciding factor as to whether or not the engineering is "good".

I am saying code quality is not black & white and you agree that the judgment of code is often a matter of opinion, yet you insist code is either good or bad. You can't have it both ways, either there is grey or it is black & white only.

What "you" deem as crap code may be perfectly stable and function without any issue for as long as needed. That begs to ask, if that is true, how can the code actually be crap? Such cases are just as much in the realm of possibility as anyone in disagreement with me has suggested.

Being handed someone elses code to work with can be a nightmare, or it can be a piece of cake or non-issue. Neither the former nor the latter is more true than the other.

I will say it again, ... Judgments about the quality of someones code must be made on a case-by-case basis and you have to consider more than just you own personal opinion and preference. Remember, I said if it works, it works and there's no getting around it.. I did not say if it work but has problems, it works.

Reply Parent Score: 2