News for hackers. Stuff that matters.
Re:Migrating a 10,000-line legacy JavaScript codebase to Typ... by choward on Friday June 17, 2016 @12:04PM (#11923433)
I recommend using "let" and "const" instead of "var".
Re:Migrating a 10,000-line legacy JavaScript codebase to Typ... by kevan on Friday June 17, 2016 @12:33PM (#11923634)
We're using a variant of Airbnb's config, it disallows `var` in favor of `let` or `const`. We're a Java shop and people get tripped up by hoisting issues pretty often.