Pwd stands for: ________?
Correct, you guessed it!
Once an abbreviation or acronym becomes widely used it makes sense to use it as a variable name for as long as you live.
Correct, you guessed it!
Once an abbreviation or acronym becomes widely used it makes sense to use it as a variable name for as long as you live.
A probably worse trap is "temp". Is it temporary or temperature?
Programmer X thinks "I'll abbreviate because MAN IT IS SO OBVIOUS what the abbreviation is, what sort of idiot would think anything else?".
You have nothing to lose by typing:
let password = ''
as opposed to
let pwd = ''