When seeing let, my first thought is why that's not const? Using let communicates: watch out, we are doing some weird stuff here. Usually it signals programming paradigm change.
For example, in react app, you need maybe one or two let variables for some special cases. It steps out quite bit in the middle of declarative functional code.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
When seeing
let
, my first thought is why that's notconst
? Usinglet
communicates: watch out, we are doing some weird stuff here. Usually it signals programming paradigm change.For example, in react app, you need maybe one or two
let
variables for some special cases. It steps out quite bit in the middle of declarative functional code.