3 ms·
Running static analyzers (PVS-Studio, for example) and splitting up functions to simple things should at least make it easier to detect errors.
by diamondo25 10y ago
Running static analyzers (PVS-Studio, for example) and splitting up functions to simple things should at least make it easier to detect errors.
- yoklov 10y agoFor splitting, there's a balance you need to strike. Split things up too far and the errors are definitely harder to detect. IMO rote splitting usually doesn't simplify, it just hides the complexity.