Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

nelson

Member since Nov 13, 2015

Recent Blog Comments By nelson

  • Var For Life - Why Let And Const Don't Interest Me In JavaScript

    Posted on Nov 13, 2015 at 5:05 PM

    For me it's const4lyfe. I use let sparingly, and avoid var if at all possible. The simple fact is that variable mutation makes your code harder to read and reason about. Const gives you assurances that things won't change. Let allows you to re-use variable names without worrying that they're going ... read more »