Dude, where’s my var?
brain monkey | (0)
And now for something a bit different...
I started to write an entry about my current JavaScript practices when brain monkey got me thinking about how var is a very strange keyword and how, by definition, it's probably abused and yet may be the perfect keyword.
What seems like a variable?
var is short for variable. It's a decent word when you're talking about parameters for a function, but when you're making a static declaration, it's not really a variable... is it?
A function may have parameters. Having a parameter usually says that in order to work, the function needs a little bit more ...