I have read about these things somewhere before...; and, most probably, repeatedly heard about it here and there...as, always, I need to revise previous knowledge; the difficulty for me has been getting these things to 'stick' inside of my mind...which seems to operate pretty much like being a total sieve...where absolutely nothing ever sticks?!
Another reason why the information doesn't tend to stick...is almost invariably -(unless I am copying other people's code)- I tend to use, var...as I've always been doing for endless years and years. I guess, it's time for me to get with the 'new'.
Thanks Paul! I am still a beginner - 3 months into a bootcamp. We started out using var, and then they introduced es6. It's tough switching when you are so used to something - so I can definitely relate to that sentiment! Sometimes I will even write a full application using var, and then go back and switch everything out with es6. That helps cement the concepts!
Eslint can help with old habits: eslint.org/docs/rules/no-var
There's even a --fix option so you can have you editor fix it for you so you don't have to think about it!
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.
Very good explanation. -Thanks! ;-)
I have read about these things somewhere before...; and, most probably, repeatedly heard about it here and there...as, always, I need to revise previous knowledge; the difficulty for me has been getting these things to 'stick' inside of my mind...which seems to operate pretty much like being a total sieve...where absolutely nothing ever sticks?!
Another reason why the information doesn't tend to stick...is almost invariably -(unless I am copying other people's code)- I tend to use, var...as I've always been doing for endless years and years. I guess, it's time for me to get with the 'new'.
Thanks Paul! I am still a beginner - 3 months into a bootcamp. We started out using var, and then they introduced es6. It's tough switching when you are so used to something - so I can definitely relate to that sentiment! Sometimes I will even write a full application using var, and then go back and switch everything out with es6. That helps cement the concepts!
Eslint can help with old habits: eslint.org/docs/rules/no-var
There's even a --fix option so you can have you editor fix it for you so you don't have to think about it!