Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The rule of 0/3/5 literally exists because the default behaviours misinteract with any override of the rest.


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.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: