Hi J,
On 3/12/19 9:06 pm, J. Pic wrote:
For me it's really easy given your example without the end statements.
I suppose your use case is actually about much longer code, with much
more cyclomatic complexity.
Indeed.
I recommend you run McCabe's algorithm instead to help refactor your code.
https://pypi.org/project/mccabe/
Thanks. I believe the changes I suggested are still helpful even after
the code has been "perfectly" refactored.
cheers,
Jan
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/S4URUR7J7MYZMCBGEQI2T6KKWWGEL2ZH/
Code of Conduct: http://python.org/psf/codeofconduct/