485
Coding chess (startrek.website)
you are viewing a single comment's thread
view the rest of the comments
[-] Gumus@lemmy.world 11 points 10 months ago

Switch-statement (called match) was added to Python 3.10 in late 2021. This is a reasonable, albeit older style of enumerated branching.

[-] vithigar@lemmy.ca 5 points 10 months ago

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.

[-] cucumber_sandwich@lemmy.world 7 points 10 months ago

Nobody is doubting that. The code in the meme is python...

this post was submitted on 29 Jan 2024
485 points (98.4% liked)

AnarchyChess

5206 readers
212 users here now

Holy hell

Other chess communities:
!Chess@lemmy.ml
!chessbeginners@sh.itjust.works

Matrix space

founded 1 year ago
MODERATORS