The Picard Maneuver@startrek.website to AnarchyChess@sopuli.xyz · 2 years agoCoding chessstartrek.websiteimagemessage-square8linkfedilinkarrow-up12arrow-down10
arrow-up12arrow-down1imageCoding chessstartrek.websiteThe Picard Maneuver@startrek.website to AnarchyChess@sopuli.xyz · 2 years agomessage-square8linkfedilink
minus-squareGumus@lemmy.worldlinkfedilinkarrow-up0·2 years agoSwitch-statement (called match) was added to Python 3.10 in late 2021. This is a reasonable, albeit older style of enumerated branching.
minus-squarevithigar@lemmy.calinkfedilinkarrow-up1·2 years agoSwitch statements and differently named but similarly purposed statements have been around since the 60s. Get outta here with this “switch is a newer style because python only just got them” nonsense.
Switch-statement (called match) was added to Python 3.10 in late 2021. This is a reasonable, albeit older style of enumerated branching.
Switch statements and differently named but similarly purposed statements have been around since the 60s. Get outta here with this “switch is a newer style because python only just got them” nonsense.