Thread safety and the var scope — live example
Recently, I’ve talked to a few developers who knew about the var scope, but didn’t quite grasp the concept of making a variable local to a function. Additionally, I’ve come across a few posts that indicated that setting a var statement was strictly…