3 ms·
C++ constructors actually make the guarantee, but it comes with other pains
by bsdpufferfish 3y ago
C++ constructors actually make the guarantee, but it comes with other pains
- masklinn 3y agoLots 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.
- bsdpufferfish 3y agoWhat language do you have in mind?
- masklinn 3y agoAny language which supports private state: smalltalk, haskell, ada, rust, …