4 ms·
I get that, but if there is a comment above each portion of the code with a short description of what they are attempting to do, then I don't mind that some of
by godshatter 6y ago
I get that, but if there is a comment above each portion of the code with a short description of what they are attempting to do, then I don't mind that some of them are trivial. You can read the (hopefully syntax-highlighted) comments as a list of steps in the function.
Also, maybe that was a large block of code that was replaced later with a function call. Or maybe the code used to validate things about the customer used to be there before the function call and now that's all been wrapped into the called function.