Scott Meyers wants to bring default zero-initialization to C++, mentions TDPL for precedent
Jack Stouffer via Digitalmars-d
digitalmars-d at puremagic.com
Wed Nov 18 10:52:00 PST 2015
On Wednesday, 18 November 2015 at 18:43:59 UTC, Ola Fosheim
> On Wednesday, 18 November 2015 at 15:29:04 UTC, ponce wrote:
>> The idea that you could bring the C++ community to use an
>> automatic upgrade tool, or to get everyone to follow optional
>> "Core Guidelines" is optimistic.
> What community? Compilers can have pedantic compiler-switches.
> C++ needs what Ada has, different profiles for different
> scenarios. No problem in having a strict profile as the default
> for a compiler.
Oh God, please don't push for PHP-ifying C++. It's already
confusing enough as it is.
For those of you who have never had the pleasure of writing PHP,
lots of PHP code does completely different things depending on
the compiler switches when the interpreter was compiled, the
global config for the host machine, the local config files in the
directory, and the warning level switches at the start of the
code. So much so that it's impossible to understand what a lot of
code does without consulting all of these locations to double
When looking at code, it should be obvious what it does without
consulting outside factors.
More information about the Digitalmars-d