Coding without coding

Tools that will improve your code so you don't have to

  • iwyu: tidy includes to improve build times
  • clang-format: format your code
  • clang tidy

See also (Jason Turner)

  • reddit/r/cpp
  • C++ ISO home
  • leanpub.com (c++ section)
  • cppinsights.io – compiler’s view of code
  • wg21.link – search c++ standard
  • eel.is/c++draft – up to the minute standard for the C++ programming language
  • godbolt.org
  • cppreference.com (also includes a C reference and offline archive)

Blogs

  • Fluent C++ (blog) – include daily tutorial for teams
  • C++ stories
  • Sutter’s Mill
  • Random ASCII by Bruce Dawson
  • Modernes C++
  • The Old New Thing (Raymond Chen)

YouTube

  • Jason Turner
  • The Cherno
  • cppcon
  • bisqwit
  • OneLoneCoder
  • Meeting Cpp (conference channel)

No comment

Leaving commented code

What are the alternatives to leaving commented old code in a codebase as a reference? Many times I’ve been saved by something that had been commented, but does the overhead of littering the code outweigh the occasional convenience? Commented code is also destined to bit rot. Add an extended comment to remind your future self what was removed Gist? Move to legacy code examples – would be cool if it turns up in IDE searches Document in a third party tool Get used to using git log -p GitLab blame Some other change visusalisation tool? [Read More]