If you got to remove one feature from #cplusplus, what would it be?
For me, comma operator.
-
-
I think a huge fraction of the complexity in C++ stems from trying to make constructors work. Rule of 3, 5, move semantics, implicit copies, placement new and all that etc. etc.
-
So removing constructors would give you a _very_ different language. Some nice things would be lost, but I think overall you'd have something much better. So basically it's a sneaky way of getting a whole language redesign under the constraint of only removing 1 feature :)
- Näytä vastaukset
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.