I had VS plugin installed which used to highlight cyclomatic complexity for each function/method. That really helped me refactor existing code.
I have seen code with 20 nested branches very difficult to read and understand very simple functionality
Yeah, there are also plugins for cognitive complexity in both Rider and Visual Studio. Be careful as some can be inefficient and tax your CPU.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I had VS plugin installed which used to highlight cyclomatic complexity for each function/method. That really helped me refactor existing code.
I have seen code with 20 nested branches very difficult to read and understand very simple functionality
Yeah, there are also plugins for cognitive complexity in both Rider and Visual Studio. Be careful as some can be inefficient and tax your CPU.