|
|
|
|
|
by jonahx
3938 days ago
|
|
I agree higher level names are far more important. But I think clarity at the local level is nice, too. Let's say your function takes a name, sanitizes it, and then does some other processing, perhaps storing it. I think this makes the code more immediately clear than 2 character names: function storeName(name) {
safeName = sanitize(name);
// do other stuff that works with safeName
//...
}
|
|