2 ms·
Python didn't handle enumerations, either, until around 2.6 (?) when they were added as a module. The match operator (I guess the new keyword means it can't be
by smitty1e 6y ago
Python didn't handle enumerations, either, until around 2.6 (?) when they were added as a module.
The match operator (I guess the new keyword means it can't be a module) seems to be a similarly well-considered additon to the enum.
Python appears to add common features after more front-end work than the competition.
That said, one fears the higher release tempo could lead to "featuritis". I still have yet to wield the walrus operator that was recently added in any code.