Declare a variable before you use it, or just assign it immediately when you declare it? Which do you prefer?
-
-
@nickgravelyn
@DaveVoyles Yep. A variable declared within an if statement for instance isn't available outside. Why declare it so it is?2 replies 0 retweets 0 likes -
Replying to @DaveVoyles
@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 {}.2 replies 0 retweets 0 likes
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.