鈴木たかのり (@takanory) です。今月の 「Python Monthly Topics」 では、第1回で紹介したPython 3. 10の新機能 「構造的パターンマッチング (Structural Pattern Matching⁠)⁠」の続きをお届けします。 前回は構造的パターンマッチング全体の説明、いくつかのパターン ...
Python, for all its power and popularity, has long lacked a form of flow control found in other languages—a way to take a value and match it elegantly against one of a number of possible conditions.