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

Sorry, I was thinking of modules in response to

> C++ requires you to duplicate signatures in header files, which that alone requires a good degree of boilerplate.



Modules will definitely help but even modules unfortunately aren't perfect. You aren't allowed to have circular dependencies with modules, you need to forward declare. It's less boilerplate but still unfortunate imo.




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: