Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 9 submissions in the queue.
posted by LaminatorX on Tuesday August 19 2014, @04:30AM   Printer-friendly
from the (C++)++ dept.

Herb Sutter reports that the ballot closed on Friday.

From the announcement:

We will perform some final editorial tweaks, on the order of fixing a few spelling typos and accidentally dropped words, and then transmit the document to ISO for publication this year as the brand new International Standard ISO/IEC 14882:2014(E) Programming Language C++, a.k.a. C++14."

https://isocpp.org/blog/2014/08/we-have-cpp14

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 3) by HiThere on Tuesday August 19 2014, @01:01PM

    by HiThere (866) Subscriber Badge on Tuesday August 19 2014, @01:01PM (#83038) Journal

    Well, the ability to have variables contained within object instances is nicer than needing to stick them on the heap yourself. I really miss that whenever I use C. OTOH, C++ comes with some much stuff done as templates that I generally use something else. I understand that doing it as templates means that it can be done at compile time rather than at run time, and for some purposes that's optimal, but sheesh! I just don't think that way. Scheme is easier to wrap my mind around.

    The language I actually prefer is D (Digital Mars D) when I'm not using Python or Ruby. D has all the nice features I like from C and doesn't yet require that you pay much attention to templates. Unfortunately, there are signs that its developing into the same mess. Apparently once you allow templates into a language, the developers get all caught up in it, and think it's so nice that everyone must want to use it.

    --
    Javascript is what you use to allow unknown third parties to run software you have no idea about on your computer.
    Starting Score:    1  point
    Moderation   +1  
       Underrated=1, Total=1
    Karma-Bonus Modifier   +1  

    Total Score:   3  
  • (Score: 0) by Anonymous Coward on Tuesday August 19 2014, @04:04PM

    by Anonymous Coward on Tuesday August 19 2014, @04:04PM (#83140)

    Actually I don't understand why so many people have an aversion to templates. I mean, the template syntax in C++ is ugly, yes, but that's just a cosmetic problem. And from the little I've seen from D, its template syntax seems not to be bad.

    Especially if you only use templates, rather than writing them, most of the time the only thing you notice is those angle brackets in the type name. For functions, you normally don't even have that; you just write min(a,b) and don't care whether min is a template or not. Except that as template, it automagically works with your own classes as long as they define a less-than operator.

    Yes, you can also do mighty complicated stuff with templates. But nobody forces you to do it. Just like nobody forces you to do mighty complicated stuff with functions.