Live data from Hacker News

Doom3 is the proof that “keep it simple” works

gamedev.net

1–10 of 111 posts

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

#7
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 think it's actually a point against lining up variable assignations like that more than a point for spaces (I prefer spaces over tabs btw).

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

#8
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."

Mix tabs and spaces in code and you're in for a fun time :D

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

#9
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."

These days just use expand tab, in an age of online code review tools etc it's just better not to have to configure every system to interpret tabs to your given number of spaces - just write the damn spaces into the file.
Post reply on HN