references: primarily used as params

Many books talk about references used as field, or return values, or perhaps payload saved in containers.

Many interviews also touch on these scenarios.

However, in my projects, 99.9% of the usage of reference is function parameters, both const and non-const.

  • if your goal is GTD, then focus on the primary usage
  • if your goal is IV or “expertise”, then don’t limit your learning to the primary usage.