Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I must have always confused cyclomatic complexity with nesting depth.

I do agree you need to keep nesting depth down, because that really does break my brain.

But a long sequence of cases or elifs needn't always be a problem, and here they make it sound like it is.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: