Hacker News new | ask | show | jobs
by Thiez 2029 days ago
Doesn't a cyclomatic complexity limit of 5 basically rule out the switch statement?
1 comments

Good question, I suppose it would? On the other hand we do have chunky switch statements (as it allows exhaustive type checking in Typescript), so not so sure now that I think about it, I'd have to check