4 ms·
There is research showing that number of bugs is a function of lines of code. As in, you can be overall better or worse with the implementation, but the more co
by viraptor 7y ago
There is research showing that number of bugs is a function of lines of code. As in, you can be overall better or worse with the implementation, but the more code you write, the more mistakes you'll make. Removing almost-duplicated code helps with this metric, especially when you operate on data structures ripe for off-by-one errors.