News for hackers. Stuff that matters.
Re:Near-duplicate features of C++ (2017) by mpweiher on Friday May 24, 2019 @05:24AM (#19999850)
> 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.

Re:Near-duplicate features of C++ (2017) by kllrnohj on Friday May 24, 2019 @12:17PM (#20003039)
> 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.

Re:Near-duplicate features of C++ (2017) by mpweiher on Friday May 24, 2019 @03:02PM (#20004367)
"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".