Track_Shovel@slrpnk.net to memes@lemmy.worldEnglish · 4 个月前Overflowslrpnk.netimagemessage-square24linkfedilinkarrow-up1243
arrow-up1243imageOverflowslrpnk.netTrack_Shovel@slrpnk.net to memes@lemmy.worldEnglish · 4 个月前message-square24linkfedilink
minus-squareJusticeForPorygon@lemmy.worldlinkfedilinkarrow-up4·4 个月前Me who still doesn’t understand switch
minus-squareInFerNo@lemmy.mllinkfedilinkarrow-up6·4 个月前It’s a shorter way to write if else if else if else if else, which keeps indenting and harder to read if there are lots of cases, also because each if statement checks the same variable for different values.
minus-squarewedeworps@sh.itjust.workslinkfedilinkarrow-up1·4 个月前I think they meant the Nintendo console
Me who still doesn’t understand switch
It’s a shorter way to write if else if else if else if else, which keeps indenting and harder to read if there are lots of cases, also because each if statement checks the same variable for different values.
Turns on and off?
I think they meant the Nintendo console