3 ms·
> }); is not a line of code. Please stop counting it as such. ...then I hope that I never have to work with code you've written, because that certainly is give
by awj 14y ago
> }); is not a line of code. Please stop counting it as such.
...then I hope that I never have to work with code you've written, because that certainly is given its own line for readability quite often.
What use is a LoC comparison that doesn't use conventional/reasonable formatting? Technically I can run a program of any length through jsmin and come out with one "line of code", but how is that at all useful?
- skyhook_mockups 14y agoI think OP mean that }); doesn't on its own affect program logic, and, realistically if you're reading JS all day your brain is filtering those characters out for you. The other argument is that }); is line noise and therefore unnecessary, which I think boils down to preference.