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

I'd argue not breaking old code has precedence over zero cost abstraction.


It's not a contest. They're both fundamental requirements. Mom doesn't like one of them best.


But indeed, when the option is between maintaining backward compatibility or further reducing overhead, the C++ committee usually choses the former, at least on the library side. See for example the less then ideal unique_ptr constructor or the invalidation guarantees of the unordered containers.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: