Duke Nukem 3D Code Review
alancronin writes "Similar to Fabien Sanglard's previous code reviews of other games such as the Quake and Doom line of games comes a review of the code base of Duke Nukem 3D (split out over 4 pages). This will be a very good read for anyone interested in understanding the mechanics of a highly addictive game or anyone that wants to learn more about game design."
Embedded Code out numbers Non Embedded Code on about a 50 000:1 scale. Every single little micro-controller, power IC, control system and numerous other devices, to many to mention, all run Embedded Code. Desktop code really being the exception should follow Embedded Code.
Desktop code roughly teaches:
Global's are evil.
Goto is the most evil and hated statement ever.
Loops shouldn't run forever.
Pointers in general are evil.
Function pointers are to hard to understand because people are morons.
etc... etc... etc... Basically all the great features of a languages are considered evil because some dumb ass in the office who doesn't understand programming messed it up. Don't blame the guys who know how to program, blame the guys who don't. If desktop code was designed more like Embedded code you would have computers that run multiple times faster and more secure.