Hacker GitHub

← All repos

isocpp/CppCoreGuidelines

View on GitHub ↗ ★ 45,422 CSS

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

100 mentions on Hacker News by 85 people: 18 stories, 82 comments · first 2015-09-16 · latest 2026-01-26

Mentions per year 100 mentions · busiest year 2015 (21)
20082026
  1. …language guide being useful? Documents like these are helpful but not very easy to digest: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC...
    comment by jug · 2017-03-25 · in C++ 17 is Done
  2. …a set of modern best practices for the language. [1]. http://clang.llvm.org/extra/clang-tidy/ [2]. https://github.com/isocpp/CppCoreGuidelines
    comment by bstamour · 2017-03-25 · in C++ 17 is Done
  3. …partial support, at least for GSL [1] (MS's library support of the the CPP Core Guidelines). [0] https://github.com/isocpp/CppCoreGuidelines [1] https://github.com/microsoft/gsl/
  4. …of C++17 changes: http://www.bfilipek.com/2017/01/cpp17features.html Modern C++ Coding guidelines: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC...
    comment by lossolo · 2017-01-26 · in C++11 FAQ
  5. You might find this project kind of interesting: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC... As a day-to-day C++ practitioner I like it. ...Yet I am not fully convinced that the general idea of language evolution…
    comment by koja86 · 2016-12-29 · in C++17 – better than you might think
  6. …questions to typical problems I usually do get an answer telling me exactly what to use. Also take https://github.com/isocpp/CppCoreGuidelines for example: sure theres a whole lot of info but it does give a ton of good/bad examples, plus…
    comment by stinos · 2016-12-04 · in C++ confessions of a C developer
  7. …core guidelines, which I need to look into more: https://google.github.io/styleguide/cppguide.html https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC... It seems like the LLVM codebase really knows what it's doing in terms of…
  8. …Core Guidelines.[1] If you haven't checked it out yet, both VS 2015 and clang offer checkers[2] [1] https://github.com/isocpp/CppCoreGuidelines [2] https://reviews.llvm.org/diffusion/L/browse/clang-tools-extr...
    comment by slacka · 2016-11-14 · in A list of modern C++ features
  9. They are here: https://isocpp.org/ http://cppcon.org/ https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC... http://erdani.com/index.php/books/modern-c-design/ https://msdn.microsoft.com/en-us/library/hh279654.aspx…
    comment by pjmlp · 2016-10-17 · in WTF is a container?
  10. …The amount of things one needs to know is so high most C++ developers would never attempt it. [0]: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC... [1]: https://github.com/akrzemi1/Optional/blob/master/optional.hp...
    comment by nercury · 2016-08-20 · in Rust: Systems Programming for Everyone
  11. …to that question take(s) the form of documents with many dozens or hundreds of pages. For example: https://github.com/isocpp/CppCoreGuidelines So not the sort of thing one can answer in-line in an HN comment.
  12. …that "this rule would generate a huge number of false positives if applied to an older code base": https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC...
    comment by voyou · 2016-06-13 · in “Safe C++ Subset” Is Vapourware
  13. …I feel there is a gap of good C++ physical layout guidelines. You might also want to look at : https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC...
  14. For some guidelines take a look at https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC... If you want to look up some information about the C++ library, look at http://en.cppreference.com/w/ Here is my advice if you are learning…
    comment by jbandela1 · 2016-05-19 · in Ask HN: C++ for Rubyists/Minimalists
  15. …explicitly. Any other mindset belongs in Python, Java or some other higher level language. [1] https://github.com/isocpp/CppCoreGuidelines/issues/357#issue...
    comment by topspin · 2016-04-18 · in Stop Using Std::endl [video]
  16. …seem hard because it forces the programmer to resolve/defend against a lot of errors up front. [1]: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC... (I should say that a lot of these rules are great, and apply more broadly…
    comment by dbaupp · 2016-03-07 · in Ill-Advised C++ Rant, Part 2
  17. …committee has started a guidelines document which encompasses the latest features of C++11/14 https://github.com/isocpp/CppCoreGuidelines
    comment by saboot · 2016-03-05 · in Why not C++?
  18. …ocpp.org/blog/2015/09/stroustrup-cppcon15-keynote http://herbsutter.com/2015/09/27/my-talk-at-cppcon/ https://github.com/isocpp/CppCoreGuidelines
    comment by bdrool · 2016-03-04 · in C++ basics for competitive programming
  19. …Just keep away from the Google C++ style guide lines. They'll lead you very far astray. Check out https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC... for a good start on modern C++ style.
    comment by readams · 2016-03-03 · in C++17 and its Technical Specifications
  20. …clang-format: http://clang.llvm.org/docs/ClangFormat.html C++ Core Guidelines: https://github.com/isocpp/CppCoreGuidelines C++ Core Guidelines Checkers for VS 2015 Update 1: https://blogs.msdn.microsoft.com/vcblog/2015/12/03/c-core-gu...
    comment by jjuhl · 2016-02-16 · in C++ is a hack
  21. …it's modern", CppCoreGuidelines explicitly say this is bad and that one should favor #ifdefs. ( https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC... )
  22. …wouldn't it be great to also have such a short guide for C++... (thinking about the tome that is https://github.com/isocpp/CppCoreGuidelines )
    comment by mrich · 2016-01-08 · in How to C in 2016
  23. …by tasks and async, etc. Eventually the idea is to subset C++ so that we can rip the C out of C++. https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC...
    comment by petke · 2015-12-24 · in The Problem with Friendly C
  24. …errors than is common in code today. And it will run fast - you can afford to do things right." https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC...
  25. …it still less than lifetimes in Rust given C++'s type system: https://youtu.be/hEx5DNLWGgA?t=1653 https://github.com/isocpp/CppCoreGuidelines/raw/09aef9bd86d9...
  26. https://github.com/isocpp/CppCoreGuidelines Like this? "The rules are designed to be supported by an analysis tool. Violations of rules will be flagged with references (or links) to the relevant rule. We do not expect you to memorize all…
    comment by lfowles · 2015-11-14 · in Breaking all the Eggs in C++
  27. …Wouldn't a statically checkable implementation of these ameliorate most of Meyer's concerns? [1] https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC...
    comment by santaclaus · 2015-11-13 · in Breaking all the Eggs in C++
  28. …Those are not part of GSL. No, I'm referring to the annotations I saw in the paper: https://github.com/isocpp/CppCoreGuidelines/blob/master/docs...
    comment by pcwalton · 2015-11-01 · in Rust Lifetimes
  29. …And the Microsoft proposal that is part of the Core C++ Guidelines: https://github.com/isocpp/CppCoreGuidelines/tree/master/talk...
    comment by pjmlp · 2015-10-26 · in C++17 progress update
  30. …#run-type control over the compile phase, but full constexpr support is a step of the way there. 1. https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC...
  31. A direct link might work better: https://github.com/isocpp/CppCoreGuidelines/raw/master/talks...
    comment by Tobu · 2015-09-23 · in Writing Good C++14 by Default [pdf]
  32. Bjarne has posted the slides to the talk about the guidelines: https://github.com/isocpp/CppCoreGuidelines/blob/master/talk...
    comment by kryptiskt · 2015-09-22 · in C++ Core Guidelines