Live data from Hacker News

Doom3 is the proof that “keep it simple” works

gamedev.net

31–40 of 111 posts

Re: Doom3 is the proof that “keep it simple” works

#31
post #19

These adverts pretending to be learning experiences, really bother me "CppDepend Tutorial" would be a better title

I was seated at the restroom at work yesterday morning when I noticed a strip of plastic had been added to the gap between the metal stall and the metal stall door. It was branded Privacy Cover (patent pending). Welcome to the future where everything is branded and everyone is an Avon lady, endorsing some set of pet products :) [a] http://www.rbahelp.com/toilet-partition-privacy-strip-instal... [b] http://www.partiti…

You might be interested to know that other parts of the world seem to have solved this quite ingeniously.. At least in Australia and New Zealand it is very common to have stalls with doors hinged and sized so when shut they overlap an outer bit. No gap.

Re: Doom3 is the proof that “keep it simple” works

#32
This comment by Carmack seems to imply that the restrained use of advanced C++ features was more by accident then by design:

I had C and Objective-C background, and I sort of "slid into C++" by just looking at the code that the C++ guys were writing. In hindsight, I wish I had budgeted the time to thoroughly research and explore the language before just starting to use it.

You may still be able to tell that the renderer code was largely developed in C, then sort of skinned into C++.

(Source: http://fabiensanglard.net/doom3/interviews.php)

Re: Doom3 is the proof that “keep it simple” works

#34
post #6
post #4

Not to brag but https://github.com/dhewm/dhewm3/blob/master/neo/idlib/Heap.c... (from line 154 down) that seems like another point against using tabs.

I always heard "Tabs for indenting, spaces for aligning."

Yeah, but since every time someone new comes along who doesn't understand what this means (witness the replies you're getting)... no tabs. It's just easier this way.

Re: Doom3 is the proof that “keep it simple” works

#36
post #4

Not to brag but https://github.com/dhewm/dhewm3/blob/master/neo/idlib/Heap.c... (from line 154 down) that seems like another point against using tabs.

Adding ts=4 fixes it:

https://github.com/dhewm/dhewm3/blob/master/neo/idlib/Heap.c...

(Inspired by https://news.ycombinator.com/item?id=9303351 )

Re: Doom3 is the proof that “keep it simple” works

#38

Fabian Sanglard's exploration[1] of Doom3 is much more in depth than this article, though the author does quote Sanglard's analysis albeit with a small source link [1] http://fabiensanglard.net/doom3_bfg/index.php

Thank you, much better link.

Re: Doom3 is the proof that “keep it simple” works

#39
post #4

Not to brag but https://github.com/dhewm/dhewm3/blob/master/neo/idlib/Heap.c... (from line 154 down) that seems like another point against using tabs.

You think that's bad: https://github.com/dhewm/dhewm3/blob/master/neo/game/ai/AI.h... Scroll down and watch the readability disappear.

append ?ts=4 to the URL to change GitHubs default 8 character tab to 4 characters wide.

Re: Doom3 is the proof that “keep it simple” works

#40
post #19

These adverts pretending to be learning experiences, really bother me "CppDepend Tutorial" would be a better title

I was seated at the restroom at work yesterday morning when I noticed a strip of plastic had been added to the gap between the metal stall and the metal stall door. It was branded Privacy Cover (patent pending). Welcome to the future where everything is branded and everyone is an Avon lady, endorsing some set of pet products :) [a] http://www.rbahelp.com/toilet-partition-privacy-strip-instal... [b] http://www.partiti…

I didn't realize people peeking through the slim slit was an issue.
Post reply on HN