Message402854
I am wondering about the cyclomatic complexity of using the new match-case syntax in Python 3.10, and later. What is the cyclomatic complexity difference (if any?) of a match-case code as opposed to code that uses the if-elif-else syntax?
So my question is this: Are there any benefits in using the match-case syntax in terms of cyclomatic complexity? |
|
Date |
User |
Action |
Args |
2021-09-29 11:47:24 | PythonEnthusiast | set | recipients:
+ PythonEnthusiast |
2021-09-29 11:47:24 | PythonEnthusiast | set | messageid: <1632916044.26.0.76023159461.issue45318@roundup.psfhosted.org> |
2021-09-29 11:47:24 | PythonEnthusiast | link | issue45318 messages |
2021-09-29 11:47:24 | PythonEnthusiast | create | |
|