Hacker News new | past | comments | ask | show | jobs | submit login

Yeah, this is obviously nonsensical.

If the constructor is "default" then why do you need to explicit set it? Yeah, I know some objects don't have constructors, but it would make more sense if you had to explicit delete the default constructor, or the keyword "trivial" was used instead of default.




Idk what other language has this "default" keyword. Seems unnecessary.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: