C++

From Bacliff Exploration Society
Jump to navigation Jump to search

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