Beginner's Guide
    First Steps
    Input & Output
    Basic Custom Types
    Diagnostics
    Standard Library
    Code Organization
    Powerful Custom Types
    Generic Programming
    Memory Management
    Software Design Basics

    Design Study: Function InterfacesFunction InterfacesFunction Interfaces

    Slides

    Parameter Passing & Value Returning Passing & Returning

    This cheat sheet illustrates when/where one should use references, const, pass-by-value, etc. for some common (but of course not all) cases.

    You should of course try to avoid direct access to class member variables, because you lose control over the interplay between this one member's state and the state of the other class members.