Re:Refactoring a 300-line if
by openasocket on Tuesday December 01, 2015 @03:49PM
(#10658637)
what bugs me is that his method means every single rule is always evaluated: no short-circuiting! So the code to sort the rules by weights, which is supposed to put stricter rules first to cut down on computing time, is completely useless.
[ Parent
| on HN ]
There are no comments on this comment yet.