Hacker News new | ask | show | jobs
by masklinn 1267 days ago
The rule of 0/3/5 literally exists because the default behaviours misinteract with any override of the rest.
1 comments

Yeah, that doesn't qualify. It is all one feature: override copy or move semantics, and there is a prescribed way to do it. Rule of zero, of course, is the norm, and is an extremely beneficial interaction.

2nd try?

> Yeah, that doesn't qualify.

It absolutely does.

> It is all one feature: override copy or move semantics, and there is a prescribed way to do it.

And yet rather than force you to do it the language just goes into the weed and generates complete nonsense.