News for hackers. Stuff that matters.
Re:Crystal: the programming language by tripa on Tuesday November 25, 2014 @03:19PM (#8659470)
my is lexical, our is global, local is dynamic.
Re:Crystal: the programming language by tripa on Tuesday November 25, 2014 @03:24PM (#8659493)
I'll premptively add a bit of precision before a pedant comes along: my is lexical all the way; our defines a lexical binding over a global variable, and local defines a dynamic binding (of lexical extent) over a global.
Re:Crystal: the programming language by AnimalMuppet on Tuesday November 25, 2014 @03:45PM (#8659609)
Are you sure the pedant hasn't already arrived? ;-)