Stories
Slash Boxes
Comments

SoylentNews is people

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: 0) by Anonymous Coward on Tuesday August 19 2014, @11:42AM

    by Anonymous Coward on Tuesday August 19 2014, @11:42AM (#83008)

    C++ never sat right with me. As someone who literally grew up writing assembler, I have difficulty seeing how the C++ way of doing things is much better than C. It seems like all of C's pitfalls are hidden behind a Wizard of Oz curtain until you abstract your way into a brick wall and have to face them. I don't like a language where the subroutines you tend to write don't work very well as boxes in a flowchart, either.

    Here's a fun question: what makes C++ any better than some sort of compiled BASIC? What does C++ do that C doesn't do, besides give you the ability to dig yourself into a hole much faster?

    GET OFF MY LAWN!

  • (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.
    • (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.

  • (Score: 2) by PizzaRollPlinkett on Tuesday August 19 2014, @02:17PM

    by PizzaRollPlinkett (4512) on Tuesday August 19 2014, @02:17PM (#83082)

    A big win: You don't have to start from scratch writing linked list and dictionary code for your structs. I used C++ on a project that would have used C otherwise, just to get the standard containers - after a decade and a half of using Java, I wasn't about to start writing data structures from scratch. C++ saves a ton of programmer time with containers, iterators, etc.

    --
    (E-mail me if you want a pizza roll!)
  • (Score: 2) by forsythe on Tuesday August 19 2014, @04:09PM

    by forsythe (831) on Tuesday August 19 2014, @04:09PM (#83144)

    The obligatory ``interview'' should be posted about now. [cat-v.org] As someone who has to read code written by others, C++ (compared to C) offers a myriad of ways to obfuscate errors behind layers and layers of design patterns, while offering nothing really more significant than pre-written linked lists.