3 ms·
Still can't overload the semicolon operator. I asked Stroustrup about this critical feature lack in C++, and he admitted that he simply forgot. Embarrassing!
by Svip 13y ago
Still can't overload the semicolon operator. I asked Stroustrup about this critical feature lack in C++, and he admitted that he simply forgot. Embarrassing!
- demallien 13y agoYup. The day I discovered "smart" pointers was the day I vowed to never use C++ again. I mean this is a language that touts being close to the metal as an advantage, and then it allows you to create something that looks like a pointer but doesn't fit into the space for a pointer. Genius... I'll take C any day of the week, and if I need some higher level features, I'll either write a precompiler that can parse my higher level features before generating C code, or I'll write a bindings generator to connect to Javascript/Ruby (I've used both options successfully in the past).
- kamaal 13y agoWhat exactly are smart pointers?
- tonyedgecombe 13y agoPointers that clean up when they go out of scope or a reference count reaches zero.
- deleted 13y ago[deleted]