I am a big fan of descriptive variable and function names; as you say using short variable names, even single letters, is not necessary today because computers don't have the memory limitations of the past.
Plus in the JavaScript world many projects are using a concatenation and minification process so there is no reason the source can't be descriptive - end-users still get the small optimised version downloaded to their browser at the end of it - so why not make things easier for your future self and fellow developers by being descriptive in the code.
A great post about refactoring with many useful tips. Thank you.
I am a big fan of descriptive variable and function names; as you say using short variable names, even single letters, is not necessary today because computers don't have the memory limitations of the past.
Plus in the JavaScript world many projects are using a concatenation and minification process so there is no reason the source can't be descriptive - end-users still get the small optimised version downloaded to their browser at the end of it - so why not make things easier for your future self and fellow developers by being descriptive in the code.
A great post about refactoring with many useful tips. Thank you.
Thank you for your kind words.