Howβs it going, I'm a Adam, a Full-Stack Engineer, actively searching for work. I'm all about JavaScript. And Frontend but don't let that fool you - I've also got some serious Backend skills.
Location
City of Bath, UK π¬π§
Education
11 plus years* active enterprise development experience and a Fine art degree π¨
Haha if I'm in a console, I don't care about binding semantics and so I usually don't use a declarator at all! A simple x = 42 is sufficient, in that context.
Howβs it going, I'm a Adam, a Full-Stack Engineer, actively searching for work. I'm all about JavaScript. And Frontend but don't let that fool you - I've also got some serious Backend skills.
Location
City of Bath, UK π¬π§
Education
11 plus years* active enterprise development experience and a Fine art degree π¨
The last time I used var was the last time I worked in a JavaScript code base in which I was the only contributor: anytime I try to use it in public, I get shot down by humans or an opinionated linter, or both π.
Ideally, I would use it more often. It's not a replacement for let or const, just like they aren't drop-in replacements for var or each other. I actually wrote about how I would prefer to use it here:
I haven't used it in forever. 95% of the time now I use const. By making a concerted effort to avoid using let and the mutability it allows (not that const is truly immutable), it has made the code I write much, much cleaner and easier to reason about.
In the console all the time.
Haha if I'm in a console, I don't care about binding semantics and so I usually don't use a declarator at all! A simple
x = 42is sufficient, in that context.same here! it feels so freeing. like running through a field
So Python.
I'm too π
For me it's just a good habit
The last time I used
varwas the last time I worked in a JavaScript code base in which I was the only contributor: anytime I try to use it in public, I get shot down by humans or an opinionated linter, or both π.Ideally, I would use it more often. It's not a replacement for
letorconst, just like they aren't drop-in replacements forvaror each other. I actually wrote about how I would prefer to use it here:Using JS: var
Daniel Brady γ» Jan 20 γ» 7 min read
I think I haven't used it in years, except in DevTools. Though this is no longer needed with Chrome 80, which allows redefining
let.I was listing to Mozart playing live If I recall correctly. Just kidding, I don't remember exactly when I used it last
I have never looked back, not one single time.
I haven't used it in forever. 95% of the time now I use
const. By making a concerted effort to avoid usingletand the mutability it allows (not thatconstis truly immutable), it has made the code I write much, much cleaner and easier to reason about.I don't use this yet π
Include
letandconst. Because, I write like this is run:Every time I risk polluting global scope including,
<script></script>tag.My last time was some years ago xD i don't even remember the last time i used it.
Yesterday. It'll probably be today, too, but it was definitely yesterday.
Today :'( Legacyyyyy code