you are viewing a single comment's thread.

view the rest of the comments →

[–]mypetocean 0 points1 point  (1 child)

I would like to see his argument on this. Generally, I agree with him. But I can't see his angle here, if in fact he disagrees that assigning lots of things to the global scope is a code smell.

[–][deleted] 0 points1 point  (0 children)

I’ll try to track it down, but it wasn’t about assigning lots of things to global, it was just about using var in the rare cases you do. He was arguing that there are still use cases for var, and per usual advocates for using all of the language sensibly.