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

Well thats not always true. Initializer list is a glaring example. So are integer promotion some other things like


Integer promotion? - Stroustroup pleads C source compat else stillborn.

Initializes lists suck mainly because of C source compat constraints, too. In fact, most things that suck in C++ came from B via C.




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: