2 ms·
> are not actually strict duplicates at all Yes, that's probably why the article's title is "Near-duplicate features of C++". > references cannot be null Fro
by mpweiher 7y ago
> are not actually strict duplicates at all
Yes, that's probably why the article's title is "Near-duplicate features of C++".
> references cannot be null
From the discussion and examples, that seems to be a restriction on the programmer, not a feature of the feature.
- kllrnohj 7y ago> From the discussion and examples, that seems to be a restriction on the programmer, not a feature of the feature. Being a restriction and being a feature are not mutually exclusive. Strong typing is a restriction on what's a collection of bits. Functions are just restrictions on your ability to change the PC. Loops are just restrictions on your ability to jump. Restrictions are necessary to create structure.
- mpweiher 7y ago"Restriction on the programmer" as in "it is the programmer's job to make sure this doesn't happen". That's an anti-feature, aka "bug".