3 ms·
An example straight from a new hire's code review a few weeks ago: // foo = 12345 doThing1(12345, 5) // foo doThing2(12345, 8) // foo Preferring self-d
by Izkata 7y ago
An example straight from a new hire's code review a few weeks ago:
// foo = 12345
doThing1(12345, 5) // foo
doThing2(12345, 8) // foo
Preferring self-descriptive code instead of comments helps stop them from doing things like this.