The Real Reason Your Code Is Hard To Understand: Understanding Cognitive Complexity

If you’ve ever pushed a PR and SonarQube yelled at you with something like: