C++ is the language I expected to have a complicated relationship with on this entire list, and the surprise — a genuinely pleasant one — is that it hasn’t turned out that way. I went in braced for “C, but worse, with more rules,” and what I actually got was C with object-oriented structure bolted on in a way that mostly made sense, taught in lectures at UCM that I looked forward to rather than endured.
Where I stand with it
I came to C++ directly after a semester of C, in the “algorithms as its sequel” part of my coursework at UCM, and I want to be upfront that this is one of the few subjects on this entire site where the lectures themselves are a real part of why I like the language — a genuinely good, clearly-explained course, not just self-taught scar tissue from fighting the compiler alone. The transition from C was less rough than I’d braced for. Not because C++ is harder than C in some abstract sense — in some ways the standard library makes basic tasks easier — but because C++ gives you so many ways to do the same thing that the first real skill isn’t writing C++, it’s deciding which subset of C++ you’re going to allow yourself to use. Raw pointers or smart pointers? printf-style or streams? Inheritance or templates or both? Nobody hands you that decision tree up front; you accumulate it from pain.
My actual skill level: comfortable with the “C with classes and RAII” subset — constructors, destructors, std::vector, std::string, basic operator overloading, enough templates to write a generic container without crying. I am noticeably less comfortable with modern template metaprogramming, concepts, or anything that starts looking like compile-time functional programming. I can read it if I concentrate. I can’t yet write it fluently, and I won’t pretend otherwise.
Where I’ve actually used it beyond coursework: a couple of small data-structure implementations for algorithms practice, and one half-finished attempt at a basic network client that I abandoned not because C++ failed me, but because I kept getting distracted rewriting the same fifteen lines in four different “more correct” styles. That’s a very C++-specific failure mode, and I don’t think it’s just me — I’ve seen the same thing described by people with a decade more experience than I have.
What I think of it
C++ is, genuinely, the language that made object-oriented programming click for me — more than Java did, even though Java was more insistent about it. Classes and inheritance in C++ arrived right after a semester of plain C, so the value of bundling data and behavior together, and the relief of RAII handling cleanup instead of my own manual malloc/free bookkeeping, was immediate and obvious rather than theoretical. Templates give you generic code without the runtime cost of, say, Python’s duck typing. The standard library, for all its quirks, has more batteries included than C ever will, and <algorithm> alone covers a huge amount of what I used to hand-roll. A real part of why this landed so well is the course itself — the UCM lectures built the OOP concepts up carefully enough that “better C with OOP” stopped being a slogan and started being something I could feel happening as I wrote it.
It’s also, at the same time, the most exhausting language I use, and I don’t think that’s actually in conflict with enjoying it — both are true. C++ refuses to pick a philosophy and commit to it. It’s a multi-paradigm language in the sense that it contains several different languages wearing the same syntax — procedural C-flavored code, object-oriented class hierarchies, template-heavy generic programming, and increasingly, a more functional style with lambdas and ranges. Each of those communities has slightly different idioms, slightly different opinions about what “good” C++ looks like, and reading someone else’s codebase often means first figuring out which of those four languages they were writing before I can even evaluate the logic.
I also think the backwards-compatibility promise, while admirable, is a double-edged sword. The amount of accumulated cruft — multiple ways to initialize a variable, the eternal .h/.hpp header convention debates, the fact that compile errors in heavily templated code can be genuinely unreadable walls of text — makes the learning curve longer than it needs to be for someone coming from a cleaner-by-design language. That said, I don’t think this is a fair complaint to level at C++ specifically without acknowledging that it’s the cost of forty years of not breaking existing code, which is a genuinely hard constraint that languages like Rust and Go simply don’t carry yet because they’re younger.
Where I’ve landed, provisionally: I think modern C++ (roughly C++17 onward, with an emphasis on RAII, smart pointers, and avoiding raw new/delete) is a legitimately good language for systems work that needs more structure than C offers. I think pre-C++11 idioms, which is unfortunately still what a lot of tutorials and older codebases teach, are actively harmful to learn first. My biggest open question going forward is whether I’ll end up preferring C++ or Rust for the kind of systems work I actually want to do — and I suspect the honest answer is “C++ when I need to interoperate with an existing C++ codebase, Rust when I’m starting fresh,” which is a very boring, very correct answer that I’m not yet experienced enough to be fully confident in.
One frustration I didn’t anticipate before actually starting: build systems. In C, a Makefile is small enough to understand end to end even when it’s ugly. In C++, the moment a project has more than one dependency, you’re usually looking at CMake, and CMake’s own syntax and conventions feel like a second, smaller, equally quirky language bolted onto an already complicated one. I don’t think this is purely a C++ problem — Rust’s Cargo is apparently the counterexample everyone points to, a build tool that just works — but it does mean a meaningful chunk of my early C++ time went into fighting the build rather than the language itself, which is a cost I don’t think gets discussed enough relative to how often it comes up in practice.
Where I go to learn it
My primary book has been “A Tour of C++” by Bjarne Stroustrup — short, dense, and written by someone with an obvious opinion about which parts of his own language are worth using versus which parts exist for historical reasons. I found it far more useful as a second book than a first one; it assumes you already roughly know what a pointer and a class are.
Beyond that:
- cppreference.com — the single most important resource on this list, full stop. I keep a tab open to it permanently. Its examples are terse but correct, and for a language with this much surface area, “correct” matters more than “friendly.”
- Jason Turner’s “C++ Weekly” videos — short, focused, and good at showing why a modern idiom is preferred over an older one, rather than just asserting it. Watching him run things through Compiler Explorer live changed how I debug template errors.
- Compiler Explorer (godbolt.org) again, same as with C — but it does even more work for C++ specifically, because seeing what a template actually instantiates into is often the fastest way to understand why something isn’t compiling.
- “Effective Modern C++” by Scott Meyers — on my list but only partially read. The chapters I’ve finished (on
auto, smart pointers, and move semantics) were genuinely clarifying; I’m saving the rest for when I have a concrete project that needs them, because I learn this language better by hitting a wall than by reading ahead of my own problems. - r/cpp and the isocpp.org forums — useful less for tutorials and more for watching actual committee members and library authors argue about proposals. It’s given me a much better sense of why certain features exist the way they do, which helps the syntax make sense instead of feeling arbitrary.
Where this is headed
I expect this page to shift the most out of all the language pages on this site, because my C++ opinions are the least settled. The next real update will probably come once I’ve either finished that network client properly or deliberately rewritten it in Rust for comparison — at which point I’ll actually have evidence instead of just vibes about which one I prefer for that kind of work.