While I’m at it…

I guess my first piece of advice to coding C++11 is to always read the Standard Library documentation. Especially the Algorithms of the STL. Many complex algorithms, especially those that require loops, can be reduced to just a few lines of non-loop code. But an even more basic benefit is to never rely on remembering what anything is supposed to do. Just browsing the algorithms and rereading the specifications of those algorithms can often lead to ingenious ways to combine algorithms.

Advertisements

In the beginning…

This will primarily be my code blog to document and discuss coding tricks and advice. Main focus will be on modern C++11/14 but may also include modern C11, Python, Java and maybe even LISP or Scheme if I get around to learning it properly.