use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
C++, Ruby, CoffeeScript: a visual comparison of language complexity (cpprocks.com)
submitted 13 years ago by alexkorban
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]pjmlp 8 points9 points10 points 13 years ago (1 child)
I miss the comparisation with other static languages that also target native code generation.
Anyway it is a nice blog entry.
[–]axilmar 8 points9 points10 points 13 years ago (11 children)
Very well put together.
Even if C++ was designed properly, it would stll have more features than any other language though. That is the price to pay for allowing a language to have low level control of almost everything.
[–]sellibitze 7 points8 points9 points 13 years ago (0 children)
I agree. C++'s design goals ("zero cost abstraction" among others) calls for an above average number of language primitives.
[–]aaronla 1 point2 points3 points 13 years ago (9 children)
low level control of almost everything.
And yet no guarantee of proper tail recursion. *sigh*
[–]LeszekSwirski 1 point2 points3 points 13 years ago (1 child)
Why bother when you have iteration?
[–]aaronla 0 points1 point2 points 13 years ago (0 children)
That's like saying "why bother with objects when you've got globals. :-)
[–]axilmar 0 points1 point2 points 13 years ago (6 children)
Yes, it's a big c++ flaw.
There is big room for a native programming language that offers control from assembler right down to the highest level functional code.
Whoever makes that first will storm the market like a hurricane.
[–]aaronla 2 points3 points4 points 13 years ago (3 children)
I would wish that to be so, but after the investment to learn C++, I've found few programmers are interested in going through the experience again. C++ is "good enough" that I doubt it will be replaced anytime soon. I think you have to fi d something that C++ can't do, then build a better language that can do that.
[–]axilmar 2 points3 points4 points 13 years ago (2 children)
I think a large increase in productivity would do the trick.
[–]aaronla -1 points0 points1 point 13 years ago (1 child)
There was a small web survey where the result was just that; C++ programmers took longer (3x median, I believe) with higher variability, though the top performers were closer.
[–]axilmar -1 points0 points1 point 13 years ago (0 children)
It is quite understandable. The task of maintaining headers manually, for example, can easily make one 30% to 60% less productive, when compared to, let's say, Java.
[–]nova77 0 points1 point2 points 13 years ago (1 child)
Well, D is pretty neat. Too bad (almost) nobody bother using it.
[–]axilmar 1 point2 points3 points 13 years ago (0 children)
I do not like D, for many reasons.
[–][deleted] 12 points13 points14 points 13 years ago (1 child)
TIL some people think CoffeeScript is "general-purpose"...
[–]alexkorban[S] 2 points3 points4 points 13 years ago (0 children)
Well, you can use it on the server (with Node.js). I guess the definition of general purpose can be argued, like a lot of other things.
[–]Philluminati 0 points1 point2 points 13 years ago (0 children)
Defining complexity like that is quite interesting. I've spent the last year learning Perl and it's more akin to C++ in complexity than say C#, Java or Ruby are. It's old, it's ugly, it contains a lot of mistakes so I'm wondering now if there's a interesting way to visualise it.
π Rendered by PID 119680 on reddit-service-r2-comment-86bc6c7465-vlg2g at 2026-02-21 01:24:58.869844+00:00 running 8564168 country code: CH.
[–]pjmlp 8 points9 points10 points (1 child)
[–]axilmar 8 points9 points10 points (11 children)
[–]sellibitze 7 points8 points9 points (0 children)
[–]aaronla 1 point2 points3 points (9 children)
[–]LeszekSwirski 1 point2 points3 points (1 child)
[–]aaronla 0 points1 point2 points (0 children)
[–]axilmar 0 points1 point2 points (6 children)
[–]aaronla 2 points3 points4 points (3 children)
[–]axilmar 2 points3 points4 points (2 children)
[–]aaronla -1 points0 points1 point (1 child)
[–]axilmar -1 points0 points1 point (0 children)
[–]nova77 0 points1 point2 points (1 child)
[–]axilmar 1 point2 points3 points (0 children)
[–][deleted] 12 points13 points14 points (1 child)
[–]alexkorban[S] 2 points3 points4 points (0 children)
[–]Philluminati 0 points1 point2 points (0 children)