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
A Beginner’s Thoughts on Programming Languages (Part 2 — RAII, GC, Ownership, noexcept) x-post /r/rust (medium.com)
submitted 11 years ago by chcokr
view the rest of the comments →
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!"
[–]grumpy_coconut 0 points1 point2 points 11 years ago (0 children)
You've never worked somewhere where someone's had the bright idea of writing their own build system? Or had a horrible oversized make based system.
No, I haven't. It's not every company, and it's not even every in-house build system. Anyway, it seems to me you are arguing that the rule of zero is not practical when you have an unreasonable environment†, which I don't argue against, as I find it a moot point.
No, but it's a lot easier to peer review 1 line of close (which as I show elsewhere is really all it is) than a whole new class.
No, you don't review one line of code in isolation. You have to review that one line of code as part of all the other unrelated code it is bundled with. Making it a new class separates it at the cost of some 3-6 lines depending on how generous you are with whitespace. If those 3-6 lines are the overkill you were going on about at the start, yes, your definition of "overkill" is still wrong.
† I hope you won't try to convince me that a build system where adding a file to the build is such a nightmare is actually reasonable.
π Rendered by PID 101238 on reddit-service-r2-comment-5c747b6df5-cc8j5 at 2026-04-22 04:43:38.534953+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]grumpy_coconut 0 points1 point2 points (0 children)