Earlier quoted context omitted.
Were there any tech reasons for switching from ruby to node?
Sadly, no.
Concepts to help developers master JavaScript
51–54 of 54 posts
Re: Concepts to help developers master JavaScript
#52Earlier quoted context omitted.
Not GP but variable scope in JS is very different to e.g. C, C#, Java etc. Superficially it appears similar, but the syntax is a faux amis.
Is is very similar to Lisp, Clipper or Perl, also known in CS circles as dynamic scope variables.
Re: Concepts to help developers master JavaScript
#53Earlier quoted context omitted.
Some historical perspective: Some languages picked it up along the way. So in my case, I only first found out about closures in JS, after going through several popular languages, that got closures only later on: Pascal, C++, PHP...
Then again, Lisp, Smalltalk, Haskell, etc. predate JS, from a historical perspective.
Re: Concepts to help developers master JavaScript
#54Earlier quoted context omitted.
Is is very similar to Lisp, Clipper or Perl, also known in CS circles as dynamic scope variables.
I've never come across hoisting in another language (not that I've looked hard).
And here is another one, upvar in Tcl.