Linked by Thom Holwerda on Tue 15th Jan 2013 21:24 UTC
General Development "I was really excited to write this article, because it gave me an excuse to really think about what beautiful code is. I still don't think I know, and maybe it's entirely subjective. I do think the two biggest things, for me at least, are stylistic indenting and maximum const-ness. A lot of the stylistic choices are definitely my personal preferences, and I'm sure other programmers will have different opinions. I think the choice of what style to use is up to whoever has to read and write the code, but I certainly think it's something worth thinking about. I would suggest everyone look at the Doom 3 source code because I think it exemplifies beautiful code, as a complete package: from system design down to how to tab space the characters." John Carmack himself replies in the comments.
Thread beginning with comment 549217
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Too bad the engine sucks
by Soulbender on Fri 18th Jan 2013 04:12 UTC in reply to "Too bad the engine sucks"
Soulbender
Member since:
2005-08-18

ON what planet does the CryEngine suck? Planet Delusional? I'm not saying it's better than Unreal but it surely doesn't suck. Ran everything with great looks and speed even on a modest system. It's not based on idtech4, btw.
The Doom3 engine though...not so great in my experience. On a system that ran HL2 and Far Cry smoothly with good detail (using an Intel chipset) Doom 3 would struggle at the lowest supported resolution (640x480 or 800x600, can't recall) especially when a couple of enemies appeared. Then the frame rate dropped to something that felt like single-digits.

Reply Parent Score: 2

bassbeast Member since:
2007-11-11

Read what I wrote friend it sucks for the amount of resources VS what you get for those resources. Look up the end battle of Crysis 1, its pretty infamous on how to this day that will cause many top end cards to choke because its so badly coded. There is even a fan made patch that will kick down the setting when you reach that ONE spot just because its so badly coded.

Again look at the facts, you have a good 90% of the games being made on Unreal, while CryEngine and ID Tech 4 are ONLY used by the parent companies...think that is a coincidence? Don't misunderstand, I'm not saying both engines can't put out a static scene capable of making you drool, THAT is not the problem. The problem is when you actually start to DO something in those scenes the engines blow through resources like a fat guy at an all you can eat buffet and end up using MUCH more than they should.

When I could take an HD4850 which at release was a top tier card at nearly $300 USD, which would epic "cool guys don't look at explosions" scenes with full AA and AF in any of the latest Unreal based games but it would have a scene that looked like a coder threw up on it in Crysis one when it got to the final battle? Something was very VERY wrong with that engine. Remember we are talking GAME engines here, making good static scenes don't count for much if the user has to spend half a grand just to get more than 15 FPS when you have enemies on the scene.

Reply Parent Score: 1