Enums - Unearthing C++ Episode 8

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ย. 2024
  • In this episode we take a look at Enums, including what they are, why we would use them and how we use them in our code.
    Patreon: / 1sand0s
    Reddit: r/1sand0s
    Watch live at / sittingwaves

ความคิดเห็น • 2

  • @SEEMERIDECOM
    @SEEMERIDECOM 2 ปีที่แล้ว +1

    It also helps with code readability and avoid having magic numbers in your code.
    Nothing worse than trying to figure what's different between 27 and 28 in a large switch statement.

    • @1sand0s32
      @1sand0s32  2 ปีที่แล้ว

      Absolutely, I completely agree!