4 ms·
Exactly. It’s a competition to beat the previous editor’s cyclomatic complexity score! In fact, I should have said: “If you refactor a method without increasin
by bastijn 9y ago
Exactly. It’s a competition to beat the previous editor’s cyclomatic complexity score! In fact, I should have said:
“If you refactor a method without increasing its cyclomatic complexity don’t bother sending for review.”
- AstralStorm 9y agoUh? Every code should be reviewed. Decreasing complexity can cause inadvertent bugs, including ones not caught by regression tests. Unless this was cheeky sarcasm in which case you shouldn't replace the previous point just add this one.
- bastijn 9y agoI think all the points in this thread are (cheeky) sarcasm :).