Re:How much your computer can do in a second
by devwastaken on Sunday March 26, 2017 @06:03PM
(#13963571)
>let is better than var (in every way), so you should never ever use var.
Not in the case I presented. let has benefits, but that does not mean its 'better in every way'. Again, dogmatism. Granted, the case I give is many, many iterations, it still is a problem if you're doing image filtering.
let is better than var (in every way), so you should never ever use var. Of course you can design for the future. Designing for the future is using let and transpile to a dialect that is used by most browsers today.