Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++0x

Name: Anonymous 2009-06-08 5:10

Why the hell are they putting all this effort into improving/fixing C++, when everyone knows it's the epitome of an imperfect language, and we've already got languages like D that are a little more sane.

I petition we euthanize C++ for the lives and innumerable man-hours it has wasted. Take her out back and put her down.

Name: Anonymous 2009-06-09 0:27

class X {
    int a;
public:
    X(int x) { if (0<x && x<=max) a=x; else throw bad_X(x); }
    X() :X{42} { }
    X(string s) :X{lexical_cast<int>(s)} { }
    // ...
};

Hahah, wow! Even Java does it better than that, despite sucking ten kinds of ass. Completely unnecessary introduction of special case syntax? This is Perl country! Now I'm just waiting for C++15 to throw in some unicode operators as optional syntax to shorten some random C++ idioms by a few characters.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List