Live data from Hacker News

Doom3 is the proof that “keep it simple” works

gamedev.net

11–20 of 111 posts

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

#12

As someone who wants to learn modern c++, what are some good resources/books to learn from ? I have python and java experience and I have been reading Accelerated C++ since a while now.

Not a definitive list, but these are good:

  The C++ Programming Language, 4th edition
  Bjarne Stroustrup

  The C++ Standard Library, 2nd Edition
  Nicolai M. Josuttis

  Effective C++, More Effective C++, Effective Modern C++ 
  Scott Meyers

  http://en.cppreference.com

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

#13
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.

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

#14
post #9
post #6

Earlier quoted context omitted.

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.

[deleted]

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

#17

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

You must be the target audience then because I read a great article about Doom3 and have no clue what youre talking about. I also dont know what CppDepend is...

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

#18
This is back in the good old days when C++ didn't have all the crap, and everyone wanted to stay away from doing advanced stuff with STL and RTTI. Linus famously said that Linux is written in C if only to keep away the C++ developers.

Having said that, I used to write tutorials using the old ways as well: http://flipcode.com/archives/Theory_Practice-Issue_06_Event_...

Does anyone love the new C++, and if so, what are their experiences with being on teams that use the full range of functionality? Do you need a language lawyer?

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

#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.partitionsandstalls.com/partition-privacy-cover.h... [c] https://www.youtube.com/watch?v=WxWnqR77Dzc&feature=em-uploa...

Post reply on HN