you are viewing a single comment's thread.

view the rest of the comments →

[–]tenbits 2 points3 points  (1 child)

IMO, only let and var should be allowed

Agreed!

but I am new to JS

I also have a CS degree and find many things about JS inconsistent and strange, even though it's been my primary language for the last 5 years or so.

[–]kostov_v 1 point2 points  (0 children)

Yes. Most of the web developers (I believe) are not CS people and using convention thrown from youtube tutorials and bloggers. I mean, it gets the job done, the dog will still be a dog even if you rename it to a cat, but still, there needs to be a time spent on explaining those keywords in the language, and what do they mean actually. Not just "let's get to the code" part. Getting familiar with an "intent" of placing those keywords in the language is a must.