Declare a variable before you use it, or just assign it immediately when you declare it? Which do you prefer?
@KrisWD40 @nickgravelyn But JS uses function scoping, not block, so even if it is declared within "if", it is still valid through the func
-
-
@DaveVoyles @nickgravelyn Can't say I'm a fan of that. C# does that within case statements if you don't use brackets {} too. So I use {}. -
@KrisWD40 @nickgravelyn Yeah, JS can get gross pretty fast
End of conversation
New conversation -
-
-
@DaveVoyles @nickgravelyn Well not for the entire function, but for any other case statements.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.