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

Pages: 1-

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-08 5:15

when everyone knows it's the epitome of an imperfect language
I think this is the problem.

Name: Anonymous 2009-06-08 5:16

That's what they should do about Haskell
Oh... wait a minute
http://i31.tinypic.com/mltk5w.jpg
Now I feel kind of bad about it :-(

Name: Anonymous 2009-06-08 5:19


   ,-----.
   %%%%%%%   SEPPLESOX:
   #######
   %%%%%%%      HELPFUL DAILY MUNDANE LANGUAGE                 
   |     |
   |     |   OR
   |&    |
   (&$   `-.    TERRIFYING MENACE TO PROGRAMMER SOCIETY WHICH MUST BE
    `.  $&& `.     ATTACKED IMMEDIATELY UNDER ALL CIRCUMSTANCES
    __`.    * `.     OR WE'LL FACE THE HORRIBLE WRATH OF THE OPPRESSION
   /  ""`-. **  \      OF ITS PIG DISGUSTINGNESS
   \_______`-.___)

Name: Anonymous 2009-06-08 16:15

C is fine, I don't see why they felt the need to ``improve'' it.
also post-incrementation means that it will only get better after it is evaluated (obsoleted)

Name: Anonymous 2009-06-08 17:05

>>1
It wouldn't be quite as bad if they didn't have this retarded "HEY GUYS WE NEED TO MAINTAIN COMPATIBILITY WITH C" mindset. The only way Sepples is ever going to be a really strong contender is to dump its unholy marriage with C and fix up the murky and fucked up syntax.

Even Bjarne was like WHY WAS > > EVER A PROBLEM FOR CLOSING MULTIPLE TEMPLATE STATEMENTS[1]

They're adding constexpr, which has to be the most useless thing ever. They're not clarifying the oh, I don't know, countless cases of static semantics. They should be divorcing C so they can actually do this.
_
1- http://www.research.att.com/~bs/C++0xFAQ.html#brackets as accessed at 16:03 CST on 08 JUN 09

Name: Anonymous 2009-06-08 17:53

It wouldn't be quite as bad if they didn't have this retarded "HEY GUYS WE NEED TO MAINTAIN COMPATIBILITY WITH C" mindset.
The sad thing is, they're maintaining compatibility with an ancient pre-ANSI version of C instead of modern ANSI C.

Name: Anonymous 2009-06-08 22:05

http://www.research.att.com/~bs/C++0xFAQ.html

This is the worst thing I have read in ages. These people are quite simply insane.

Name: Anonymous 2009-06-08 22:31

I was playing around with something new features... http://codepad.org/xUVd1l0m

Most useful things I've used so far

* auto types
* initializer lists
* extern templates (finally)

looking forward to

* further support for concurrency primitives
* range for (does 4.4 have this yet?)

I can't see me touching half the new functional shit they're throwing in. Lambda syntax is cancer to my eyes but I'll probably get used to it. Still cant figure out what the fuck rvalue references are for. Variadic templates? HRNNNG.

Why Bjarne why

Name: Anonymous 2009-06-08 23:41

R-value references solve the forwarding problem¹. As for variadic templates, they‘re actually pretty useful for generic programming.
_____________
¹ http://std.dkuug.dk/JTC1/SC22/WG21/docs/papers/2002/n1385.htm

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.

Name: Anonymous 2009-06-09 1:45

>>11
Screw you, pal.

Name: Anonymous 2009-06-09 2:06

>>12
ANIMOSITY? ON MY /PROG/?
It's more likely than you think.

Name: Anonymous 2009-06-09 2:13

>>12
step down motherfucker see this to my face not online and see what happens

Name: Anonymous 2009-06-09 2:29

C++ sucks, but what do you suggest instead? Java? C#? FIOC?

Name: Anonymous 2009-06-09 2:30

>>14
Zed Shaw?

Name: Anonymous 2009-06-09 2:33


                               _____________________
                   /|  /| |   |                     |
                   ||__|| |   |    HAVE YOU BEEN    |
                  /   O O\__  | SEPPLESOX'D TODAY?  |
                 /          \ |                     |
                /      \     \|_____________________|
               /   _    \     \      ||            
              /    |\____\     \     ||            
             /     | | | |\____/     ||            
            /       \|_|_|/   |     _||            
           /  /  \            |____| ||            
          /   |   |           |      --|           
          |   |   |           |____  --|           
   * _    |  |_|_|_|          |     \-/            
*-- _--\ _ \                  |      ||            
  /  _     \\        |        /      `             
*  /   \_ /- |       |       |                     
  *      ___ c_c_c_C/ \C_c_c_c____________          

Name: Anonymous 2009-06-09 2:42

>>14
see this to my face
see

Name: Anonymous 2009-06-09 3:07

>>18
see this to my face internet tough guy I could kill u all if I wanted

Name: Anonymous 2009-06-09 3:31

>>13
On your what now? ``/PROG/"? Never heard of it.

Name: Anonymous 2009-06-09 3:32

>>15
Haskell or Scheme of course.  This is /prog/, after all.

Name: Anonymous 2009-06-09 3:39

>>21
You forgot Erlang.

Name: Anonymous 2009-06-09 4:27

>>22
Erlang is not a Milhouse.

Back to image boards.

Name: Anonymous 2009-06-09 5:03

>>23
Perhaps you should heed your own advice, and head back from whence you came.

Name: Anonymous 2009-06-09 5:09

>>24
You're

Name: Anonymous 2009-06-09 8:53

>>25
>>24
You're

Name: Anonymous 2009-06-09 13:41

>>26
>>25 > >>24 > You're

Name: Anonymous 2009-06-09 22:45

>>25-27
STOP WASTING FUCKING QUOTE JUICE

Name: Anonymous 2009-06-10 5:36

stop stealing the funny stuff from other boards/forums and trying to bring them here as innovations, >>28

Name: Anonymous 2010-07-03 6:49

XD

Name: Anonymous 2010-07-03 7:34

>>29
Not only that, but it isn't funny!

Name: Anonymous 2010-07-03 8:04

>>31
Indeed. Holy shit this thread is just... Bad, I'm going back to my sweet home filled with glorious Python and Common Lisp.

Name: Anonymous 2010-07-03 8:09

>>32
Rotahall?

Name: Anonymous 2010-07-03 9:06

I googled for pictures of axolotls. Xarn's blag didn't come up. Explain yourself, Xarn.

Name: Anonymous 2010-07-03 9:51

C and Racket.

Name: Anonymous 2010-07-03 16:06

>>34
Back to /xkcd/, please.

Name: Anonymous 2010-07-03 16:49

>>36
I went there and they told me to go back to /prog/ if I didn't have any actual programming to discuss.

Name: Anonymous 2010-07-03 20:44

>>6
I read my own post and recognized it. I should strive to be slightly more anonymous in the future.

Name: Anonymous 2010-07-05 0:22

>>38
Well since you're still here, let me point out that your use of that citation in >>6 is misleading. Bjarne wasn't wondering why it was a problem; he was asking it from the perspective of the user, in a FAQ sense.

If you had bothered to read your own link, he knows full well why it was a problem, and he explains it: the C++ grammar is ambiguous, so you need to combine the parser and lexer together to parse this. This should not be required for any parser in any sane language, so the rule for needing a space was made to keep it unambiguous. However compiler writers did it anyway in order to give sane error messages for C++ code, so they just went ahead and made it valid in C++0x.

Name: Anonymous 2010-12-27 19:09

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