Hacker News new | ask | show | jobs
by emseetech 463 days ago
My understanding is that shortened variable names are recommended for small, tight contexts (loops, short functions) but not generally.
1 comments

That 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.