Re:What Is the Switch-Case Equivalent in Python?
by beforeolives on Sunday April 04, 2021 @04:02AM
(#26687690)
The trick is tell when striving for consistensy is foolish and when it isn't. Otherwise you would always be able to fall back on this quote to justify creating unuseable code/frameworks/projects/languages.
But doesn't that violate the longstanding Python rule that A Foolish Consistency is the Hobgoblin of Little Minds ?