Difference between revisions of "C++"

From Bacliff Exploration Society
Jump to navigation Jump to search
(Created page with "'''C++''' is a god-forsaken monstrosity of a programming language, created by Sauron, and modeled closely on the Black Speech of Mordor. C++ is based on C, and c...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''C++''' is a god-forsaken monstrosity of a programming language, created by [[Sauron]], and modeled closely on the [[Black Speech]] of [[Mordor]].  C++ is based on [[C]], and contains all of that language's mistakes and bad ideas.  C++ builds upon C, by adding even more horrendous and obscure "objected oriented" syntax.
+
'''C++''' is a god-forsaken monstrosity of a programming language, created by [[Sauron]], and modeled closely on the [[Black Speech]] of [[Mordor]].  C++ is based on [[C]], and contains all of that language's mistakes and bad ideas.  C++ builds upon C, by adding even more horrendous and obscure "objected oriented" syntax. Many engineers have been misled into thinking that C++ (or even C) are the programming languages they should be using, in spite of the fact that most of them would prefer [[Fortran 2008]] (if they knew what it was).
 +
 
 +
== Example C++ program ==
 +
std::vector<int> some_list;
 +
int total = 0;
 +
std::for_each(some_list.begin(), some_list.end(), [&total](int x) {
 +
  total += x;
 +
});
 +
== See also ==
 +
* [[C]]
 +
* [[Ada]]

Latest revision as of 17:12, 21 August 2011

C++ is a god-forsaken monstrosity of a programming language, created by Sauron, and modeled closely on the Black Speech of Mordor. C++ is based on C, and contains all of that language's mistakes and bad ideas. C++ builds upon C, by adding even more horrendous and obscure "objected oriented" syntax. Many engineers have been misled into thinking that C++ (or even C) are the programming languages they should be using, in spite of the fact that most of them would prefer Fortran 2008 (if they knew what it was).

Example C++ program

std::vector<int> some_list;
int total = 0;
std::for_each(some_list.begin(), some_list.end(), [&total](int x) {
 total += x;
});

See also