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. C++ Core Guidelines: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC...
    comment by sachinjoseph · 2017-07-08 · in Ask HN: Name good examples of Modern C++ usage
  2. …hear the term "modern c++" these days. - https://en.wikipedia.org/wiki/Modern_C%2B%2B_Design [2] https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC...
  3. …apply them to C, Ada, Obj-C, Pascal, etc. If you look for C++ specific guidelines I suggest this: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC... I am saying this since C++ gives you a lot of power, but also a lot of…
    comment by partycoder · 2017-06-04 · in C++ Coding Guidelines (2014)
  4. …handles to be opened before use and automatically closed when leaving scope (no longer in use). See https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC...
    comment by Too · 2017-04-01 · in Idris 1.0
  5. …to bring Rust-like memory safety guarantees to C++. Has anyone here had a chance to try it out? https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC... https://github.com/Microsoft/GSL https://msdn.microsoft.com/en-us/library/mt7628…
  6. …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
  7. …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
  8. …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/
  9. …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
  10. 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
  11. ▲ 2
    C++ Core Guidelines
    story by pthyme · 2016-12-19 · 0 comments
  12. …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
  13. …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…
  14. …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
  15. 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?
  16. ▲ 3
    C++ Core Guidelines
    story by adamnemecek · 2016-09-12 · 0 comments
  17. …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
  18. …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.
  19. …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
  20. …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...
  21. 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
  22. …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]
  23. …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
  24. …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++?
  25. …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
  26. …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
  27. …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
  28. …it's modern", CppCoreGuidelines explicitly say this is bad and that one should favor #ifdefs. ( https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC... )
  29. …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
  30. …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
  31. …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...
  32. …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...
  33. 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++
  34. …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++
  35. …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
  36. …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
  37. ▲ 2
    Introduction to type and memory safety [C++ proposal] [pdf]
    story by amluto · 2015-10-14 · 0 comments
  38. …#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...
  39. ▲ 2
    A brief introduction to C++’s model for type and resource safety
    story by frostmatthew · 2015-10-07 · 1 comment
  40. ▲ 1
    A brief introduction to C++’s model for type- and resource-safety [pdf]
    story by ingve · 2015-10-07 · 0 comments
  41. ▲ 3
    The C++ Core Guidelines have now a FAQ
    story by ingve · 2015-09-30 · 0 comments
  42. 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]
  43. ▲ 121
    Writing Good C++14 by Default [pdf]
    story by adamnemecek · 2015-09-23 · 81 comments
  44. ▲ 3
    C++ Lifetime Safety: Preventing Leaks and Dangling [pdf]
    story by edbrown23 · 2015-09-22 · 0 comments
  45. 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
  46. ▲ 57
    C++ Core Guidelines
    story by GarethX · 2015-09-22 · 3 comments
  47. ▲ 2
    The C++ Core Guidelines
    story by ner0x652 · 2015-09-21 · 0 comments
  48. ▲ 2
    The C++ Core Guidelines
    story by shagunsodhani · 2015-09-20 · 0 comments
  49. ▲ 268
    C++ Core Guidelines
    story by octoploid · 2015-09-18 · 126 comments
  50. ▲ 2
    C++ Core Guidelines
    story by rexpi0 · 2015-09-16 · 0 comments