News for hackers. Stuff that matters.
Re:153k Ether Stolen in Parity Multi-Sig Attack by saurik on Thursday July 20, 2017 @12:06AM (#14809951)
Another way of describing that is that variables are global (scoped to the lobby, to borrow a term from the languages which came before JavaScript) unless explicitly marked with the "var" keyword, which has semantics that some languages might have chosen to give the name "local". Like: your entire premise that a variable is only the declared variables makes no sense to me as someone who teaches college-level classes in programming languages. In Python variables default to local unless marked "global". In JavaScript, variables default to captured via scope unless marked "var".

There are no comments on this comment yet.