• Serdan@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    1 year ago

    Yes, you need to read code to understand it. If else statements can also do the job of a switch, so the exact same argument applies.

    • lowleveldata
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      The point is I don’t need to read a switch statement to know that it is a switch