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
20082026
-
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 -
…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...
comment by sclangdon · 2017-06-26 · in Does the Boost library meet its original goal? -
…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) -
…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…
comment by corysama · 2017-03-28 · in It’s time for a memory safety intervention -
…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 -
…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 -
…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/
comment by hermitdev · 2017-03-22 · in Software Engineering Institute Makes CERT C++ Coding Standard Freely Available -
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 -
▲ 2
C++ Core Guidelinesstory by pthyme · 2016-12-19 · 0 comments
-
…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 -
…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…
comment by chubot · 2016-11-22 · in Help me sort out the meaning of “{}” as a constructor argument -
…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 -
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? -
▲ 3
C++ Core Guidelinesstory by adamnemecek · 2016-09-12 · 0 comments
-
…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 -
…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.
comment by lisper · 2016-06-26 · in My Most Important C++ Aha Moments (2006) -
…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 -
…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...
comment by vikram_12 · 2016-05-22 · in Top C++ header file mistakes and how to fix them -
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 -
…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] -
…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 -
…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++? -
…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 -
…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 -
…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 -
…it's modern", CppCoreGuidelines explicitly say this is bad and that one should favor #ifdefs. ( https://github.com/isocpp/CppCoreGuidelines/blob/master/CppC... )
comment by Noughmad · 2016-01-22 · in Show HN: Curious Namespace Trick – Limited static polymorphism in C++ -
…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 -
…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 -
…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...
comment by petke · 2015-12-21 · in Boringcc: Proposal for a C compiler for secure software -
…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...
comment by pjmlp · 2015-12-16 · in IncludeOS roadmap: tiny Node.js-style web services in highly efficient C++ -
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++ -
…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++ -
…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 -
…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 -
▲ 2
Introduction to type and memory safety [C++ proposal] [pdf]story by amluto · 2015-10-14 · 0 comments
-
…#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...
comment by eigenbom · 2015-10-08 · in JAI Primer: A Programming Language for Games -
▲ 2
A brief introduction to C++’s model for type and resource safetystory by frostmatthew · 2015-10-07 · 1 comment
-
▲ 1
A brief introduction to C++’s model for type- and resource-safety [pdf]story by ingve · 2015-10-07 · 0 comments
-
▲ 3
The C++ Core Guidelines have now a FAQstory by ingve · 2015-09-30 · 0 comments
-
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] -
▲ 121
Writing Good C++14 by Default [pdf]story by adamnemecek · 2015-09-23 · 81 comments
-
▲ 3
C++ Lifetime Safety: Preventing Leaks and Dangling [pdf]story by edbrown23 · 2015-09-22 · 0 comments
-
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 -
▲ 57
C++ Core Guidelinesstory by GarethX · 2015-09-22 · 3 comments
-
▲ 2
The C++ Core Guidelinesstory by ner0x652 · 2015-09-21 · 0 comments
-
▲ 2
The C++ Core Guidelinesstory by shagunsodhani · 2015-09-20 · 0 comments
-
▲ 268
C++ Core Guidelinesstory by octoploid · 2015-09-18 · 126 comments
-
▲ 2
C++ Core Guidelinesstory by rexpi0 · 2015-09-16 · 0 comments