4 ms·
Thanks, your explanation makes a lot more sense. A short comment would be useful in the original code. Written as is, the original code looks surprising. I've
by laurentlb 3y ago
Thanks, your explanation makes a lot more sense. A short comment would be useful in the original code.
Written as is, the original code looks surprising. I've seen this kind of easily simplifiable multiple times in large codebases, after years of refactoring and automated transformations.