Slashdot Mirror


Biggest Changes In C++11 (and Why You Should Care)

Esther Schindler writes "It's been 13 years since the first iteration of the C++ language. Danny Kalev, a former member of the C++ standards committee, explains how the programming language has been improved and how it can help you write better code."

6 of 385 comments (clear)

  1. 13 years? by Meneth · · Score: 4, Informative
    C++ has been around for at least 28 years. From Wikipedia: "It was renamed C++ in 1983."

    The article is probably referring to the first finished C++ ISO standard, 14882:1998. Hardly the "first iteration" of the language.

  2. Re:13 years? by crow_t_robot · · Score: 3, Informative

    After years of development, the C++ programming language standard was ratified in 1998 as ISO/IEC 14882:1998

    C++ didn't exist as a standardized language till 13 years ago. It was in development before then.

  3. Re:13 years? by Lord+Lode · · Score: 3, Informative

    The previous C++ standard, C++98, is 13 years old, as the name implies.

  4. Re:Nice but... by mmcuh · · Score: 5, Informative

    GCC, which is probably the most used C++ compiler, supports the new for-syntax since 4.6, deleted member functions since 4.4, and explicit virtual overrides in the 4.7 development series.

  5. See wikipedia by Anonymous Coward · · Score: 3, Informative
  6. Re:Alternative syntax by TheRaven64 · · Score: 3, Informative

    Would it be that painful to add a lambda keyword?

    Yes, actually. Adding keywords to a language is problematic, because lots of existing code will use them as identifier names. If you add a lambda keyword then you break any existing code that contains a variable, function, or type called lambda. C99 had some ugly hacks to get around this for bool: the language adds a __bool type, and the stdbool.h type adds macros that define bool, true, and false in terms of __bool.

    --
    I am TheRaven on Soylent News