The Picard Maneuver@startrek.website to AnarchyChess@sopuli.xyz · 7 months agoCoding chessstartrek.websiteimagemessage-square49fedilinkarrow-up1492arrow-down18
arrow-up1484arrow-down1imageCoding chessstartrek.websiteThe Picard Maneuver@startrek.website to AnarchyChess@sopuli.xyz · 7 months agomessage-square49fedilink
minus-squareGumus@lemmy.worldlinkfedilinkarrow-up12arrow-down1·7 months 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-up8arrow-down3·7 months 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.
minus-squarecucumber_sandwich@lemmy.worldlinkfedilinkarrow-up7·7 months agoNobody is doubting that. The code in the meme is python…
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.
Nobody is doubting that. The code in the meme is python…