Hacker News new | ask | show | jobs
by Taikonerd 417 days ago
Like cyclomatic complexity? https://en.wikipedia.org/wiki/Cyclomatic_complexity

My previous company had a step in the CI/CD that would fail if the nesting level of a function got too deep. (Like, "an if statement, which contains a foreach loop, which contains another if statement, which contains...")

1 comments

Yes exactly, I was forgetting the name of that.