6 ms·
My understanding is that shortened variable names are recommended for small, tight contexts (loops, short functions) but not generally.
by emseetech 2y ago
My understanding is that shortened variable names are recommended for small, tight contexts (loops, short functions) but not generally.
- cube2222 2y agoThat and conventionally standard names, like r for request/reader, w for writer, etc. Agreed. Functions shouldn’t be full of short non-descriptly named variables. The longer the lifetime/scope of a variable, and the more variables there are, the more descriptive the names should be.