I'm a fan of Open Source and have a growing interest in serverless and edge computing. I'm not a big fan of spiders, but they're doing good work eating bugs. I also stream on Twitch.
I use const all the time. It's very rare that I need let. I can see let being used as an index in a for loop, but I almost never need a for loop. Filter, map and reduce usually do the trick.
Functional and immutable Js makes code more readable and maintainable imo. I almost exclusively use const, I have yet to find a scenario where I need to change this.
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.
I use
const
all the time. It's very rare that I needlet
. I can seelet
being used as an index in a for loop, but I almost never need a for loop. Filter, map and reduce usually do the trick.We're in the same boat! I try to avoid
let
and even loops, which people think I'm crazy for.Map
,Filter
andReduce
are loops, but they are immutable for the purpose of us devs.They're declarative loops, but yes definitely loops.
Functional and immutable Js makes code more readable and maintainable imo. I almost exclusively use
const
, I have yet to find a scenario where I need to change this.