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

C++ constructors actually make the guarantee, but it comes with other pains


Lots of languages handle it just fine and don’t need the mess of C++ ctors.

GP is pointing out that go specifically makes it an issue.


What language do you have in mind?


Any language which supports private state: smalltalk, haskell, ada, rust, …




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: