News for hackers. Stuff that matters.
Re:Popular Myths about C++, Part 1 by fsloth on Tuesday December 09, 2014 @02:50PM (#8725210)
If malloc fails for trying to allocate a few miserable bytes I would claim the game is over. Why would he need a fallback strategy, anyway? The program is tiny and really, really doesn't do anything important.

Matters of taste I suppose, but I've always felt that for tutorial and proof of concept code it's better to skip unnecessry details.

Not every line of code lives in a production environment...

There are no comments on this comment yet.