Quote:Original post by iMalcAs credible as the source might seem, the statement in question is nevertheless false. One would need to quantify the statement with specific old compilers at the very least.
If you'd like to help keep up the credibility of that source, then by all means please contact the site or article author and let them know of the mistake.
The source is just fine, read the article, but more importantly, the context it was written in.
The quote isn't about some weird C++ standard issues, or some obscure platforms. The paragraph comes through as if developer seemed surprised that on embedded hardware it is necessary to check for memory allocation failures (given a console projects, exceptions were probably disabled, or aren't supported).
The article is written from a junior developer's perspective (as stated in article).
Other advice states to validate parameters and expect that sometimes your function will be called with unexpected parameters. Another paragraph says to learn bit flags. And another that requirements change.
The surprise over memory allocation failures is common. Memory allocation is an obscure and arcane topic to majority of new developers, and essentially all that have been raised on cups of Java. Majority of software developers today has no concept of resource cost (memory, disk, CPU - "what, I tested with 5 files, it works fine, what do you mean O(n^5)"), and many (especially IT-centric) practices strictly forbid thinking about cost, which results in gigabyte behemoths where no resources could have been claimed at all.
This isn't limited to small projects either. I ran into problems upgrading eclipse, when something looked fishy after taking 30 minutes with no apparent progress. It turned out, that upgrader was creating hundreds of thousands (100,000+) directories with a handful of files in them (millions of 100 byte file system entries). It was simple design (reflection or something mapped to file system), but it's the absolute worst-case scenario for NTFS. After moving temp location to RAM drive, the whole process took only a few seconds.