Rejoice! Gone are the long chains of if
…else
statements, because switch
statements will soon be here — sort of. What the Python gods are actually giving us are match
statements. match
statements are awfully similar to switch
statements, but have a few really cool and unique features, which I’ll attempt to illustrate below.
Continue reading “Python Will Soon Support Switch Statements”