CppCoreGuidelines

The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++ (by isocpp)

CppCoreGuidelines Alternatives

Similar projects and alternatives to CppCoreGuidelines

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better CppCoreGuidelines alternative or higher similarity.

CppCoreGuidelines reviews and mentions

Posts with mentions or reviews of CppCoreGuidelines. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-23.
  • 2yoe in Java. Brand new to CPP. Where do I begin?
    4 projects | reddit.com/r/cpp_questions | 23 Sep 2022
    For best practices and stuff you can take a look at the core guidelines and check out Jason Turner on Youtube though you should start getting familiar with at least the basic syntax first. Later the cppcon videos are also always interesting.
  • C++ by Example
    4 projects | news.ycombinator.com | 22 Sep 2022
    Personally, one issue I had was also the fact that online many of the help pages are really outdated.

    I can't forget an old accepted "much voted" answer I saw on stackoverflow which claimed that raw pointers should be owning resources, because that's how the language always did.

    I think the answer was dated like 2008 or so, can't find the reference anymore. That's when I started to pay a lot more attention to the published date whenever I search for help and I stumble upon a very old article.

    Luckily we have this now [0].

    They should invest more on tools like the GSL extension at least as a clang warning which really helps, and things like that. That's how I believe Java was also able to modernize. You can write pretty crappy Java too, but tools like findBugs or checkstyle do help, so why not!

    [0]: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines...

  • Wrote my first NIF and have some questions for the community
    3 projects | reddit.com/r/elixir | 20 Sep 2022
    Of course there is - the C++ Core guidelines which have existed for seven years and are updated every few months.
  • Azure CTO: “It's time to halt starting any new projects in C/C++ ”
    15 projects | news.ycombinator.com | 19 Sep 2022
    > If you're perfectly attentive and constantly vigilant, maybe

    That used to be the case 10 or 15 years ago. Today it is much easier to "follow the rules", because:

    1. You used to need to tread carefully to both follow them and do what you needed to; now you can do more complex things more easily. Example: In the past, you couldn't avoid new and free being strewn around your code. These days, you can avoid them entirely when not implementing a complex data structure of your own.

    2. A decent version of "the rules" is basically explicit: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines

    3. The standard library and other FOSS libraries do a lot of the rule-following for you

    (4. Compilers are more attentive and do more static checking.)

  • Cppfront: Herb Sutter's personal experimental C++ Syntax 2 -> Syntax 1 compiler
    2 projects | reddit.com/r/cpp | 16 Sep 2022
    There’s another talk from Herb Sutter about problems like this. I can’t find it rn but it was at CppCon and it was based on this paper
  • True or false?
    3 projects | reddit.com/r/ProgrammerHumor | 12 Sep 2022
    I don't think you should write C++ anything like you would write C or you're just going to shoot yourself in the foot. It's not "C with extras", it's much better as long as you use modern C++ and follow the core guidelines.
  • Please review my code
    2 projects | reddit.com/r/cpp_questions | 30 Aug 2022
    If you want to peruse a nice list of good general-purpose guidelines, like "here's something to get in the habit of to write good c++ code", I'd recommend checking out the C++ core guidelines. It's a pretty good checklist of "this is usually better than that" rules, though I don't agree with every one of them.
  • NoobQ: What graphics library should I use for writing my very simple collision simulator ?
    3 projects | reddit.com/r/cpp_questions | 26 Aug 2022
    www.learncpp.com is a great place to start. Use https://en.cppreference.com/w/ as a language reference. Once you feel comfortable with the language, you can learn about the proper practices using the C++ Core Guidelines.
  • Please review my code.
    2 projects | reddit.com/r/cpp_questions | 20 Aug 2022
    This website was written by Bjarne Strousstrup giving good design practices https://github.com/isocpp/CppCoreGuidelines. Other tools that you can learn are like vcpkg and CMake in order to make project builds easier.
  • I am 13 I think I'm finished learning intermediate C++ whats next?
    3 projects | reddit.com/r/cpp | 14 Aug 2022
    They help if you ever get stuck and reinventing the wheel kind of sucks but you’ll keep progressing. Other than learning Modern C++ and it’s design patterns here: https://github.com/isocpp/CppCoreGuidelines
  • A note from our sponsor - SonarLint
    www.sonarlint.org | 30 Sep 2022
    Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today. Learn more →

Stats

Basic CppCoreGuidelines repo stats
223
35,569
8.1
6 days ago

isocpp/CppCoreGuidelines is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.
scoutapm.com
Find remote Python jobs at our new job board 99remotejobs.com. There is 1 new remote job listed recently.
Are you hiring? Post a new remote job listing for free.