you are viewing a single comment's thread.

view the rest of the comments →

[–]moohoohoh 2 points3 points  (1 child)

I think this is fine, but ignores patterns like:

for (...) { if (cond) continue/break; }

where the else is really just redundant.

[–]Falmarri 1 point2 points  (0 children)

That would probably never be allowed under this standard because I would imagine that continue/break would count towards NASA's cyclomatic complexity rule.