Skip to content

History / Coding guidelines

Revisions

  • Added tip to use template functions for overloaded functions which vary only in their parameter types.

    @Rapteon Rapteon committed Feb 27, 2025
  • Added tip to use default function parameters.

    @Rapteon Rapteon committed Feb 27, 2025
  • Added guideline for use of constant global variables, and formatted header usage rule.

    @Rapteon Rapteon committed Feb 26, 2025
  • Added advice to avoid defining loop variables outside the loop.

    @Rapteon Rapteon committed Feb 24, 2025
  • Added guideline to use std::string_view instead of std::string.

    @Rapteon Rapteon committed Feb 24, 2025
  • Added notice that binary prefix format for binary numbers require C++14 support.

    @Rapteon Rapteon committed Feb 23, 2025
  • Added tips for storing binary numbers into integral values and printing them using bitset.

    @Rapteon Rapteon committed Feb 23, 2025
  • Added guideline for using `const` variables.

    @Rapteon Rapteon committed Feb 23, 2025
  • Added tip to use double instead of float when there aren't any space constraints.

    @Rapteon Rapteon committed Feb 22, 2025
  • Added a tiny tip about premature optimisation.

    @Rapteon Rapteon committed Feb 22, 2025
  • Created separate page for coding guidelines.

    @Rapteon Rapteon committed Feb 1, 2025