Declare Vars

Declare Vars
javascript-memes, var-memes, let-memes, const-memes, variables-memes | ProgrammerHumor.io

A gentle reminder from your friendly neighborhood linter. In JavaScript land, we've got var, let, and const battling it out for supremacy, while half the codebase still uses var because someone copy-pasted from a 2010 Stack Overflow answer. The pun works on multiple levels: declare your variables properly with the right keyword, and definitely don't declare actual war. Though honestly, the debates over var vs let vs const in code reviews can feel pretty close to warfare.

More Like This