5 ms·
There is no modern C++ without the old C++. C++ is the success that it is exactly because it has been able to evolve with no shameful past to cancel.
by pif 3y ago
There is no modern C++ without the old C++. C++ is the success that it is exactly because it has been able to evolve with no shameful past to cancel.
- chris_wot 3y agoWe don't talk about auto_ptr.
- DoctorDabadedoo 3y ago`union` is all I need to mark my territory and make sure no one touches my property!
- shadowgovt 3y agoThis is still the language that supports setjmp and longjmp and just documents that if you mix them with exceptions the behavior is undefined, right? You can't have a shameful past when you started shameful. ;) This language's roots are in "I wrote some extensions to simplify C, but I don't want to make it incompatible with C so the extensions don't work coherently in all contexts and you only get sound code if you hold your mouth right" and it never actually got better because nothing ever got removed to make the language more sound. Well, it did. When it happened, it created other languages.
- ben_w 3y agoI've had the misfortune of needing to fix the C++ from someone who neither knew nor cared what STL and smart pointers are.
- Jtsummers 3y agoI'm still trying to clean up the mess from someone who knew what STL and smart pointers were, and then made their own broken smart pointers (their version of shared_ptr has a particularly nasty bug).
- pif 3y agoYou mean someone who learnt Visual C++ from Microsoft and was conned to think he knew C++?