No foo variables
// bad
const foo = y && z;
// good
const isPostEnabled = isPost && postDateValid;
This is especially important for working professionals or people who are in a position where they are educating others. Variable naming should be used to help explain and give context to what is going on within the code.
Last updated
Was this helpful?