PythOnRails@programming.dev to Python@programming.dev · 2 years agoThe Python dictionary dispatch patternjamesg.blogexternal-linkmessage-square10fedilinkarrow-up133arrow-down10cross-posted to: hackernews@derp.foo
arrow-up133arrow-down1external-linkThe Python dictionary dispatch patternjamesg.blogPythOnRails@programming.dev to Python@programming.dev · 2 years agomessage-square10fedilinkcross-posted to: hackernews@derp.foo
minus-squarekiwifoxtrot@lemmy.worldlinkfedilinkarrow-up1arrow-down1·2 years agoMatch only just came out in Python 3.10, so it doesn’t universally work. I think you implied that in your comment, so I wanted to add context for others.
minus-squareSubArcticTundra@lemmy.mllinkfedilinkarrow-up2·2 years agoOh, yes. I’m excited for the arrival of match. I’ve used it in rust and it’s very nifty and Pythonic
Match only just came out in Python 3.10, so it doesn’t universally work. I think you implied that in your comment, so I wanted to add context for others.
Oh, yes. I’m excited for the arrival of match. I’ve used it in rust and it’s very nifty and Pythonic