The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
BTW, where is this fashion against var coming from?!
Is that from the same people who told us to use F#, that would be a good joke!
Proud var user here...
I mean I heard some people have cognitive problem with it. But I used since it was introduce and it hasn't cause me any discomfort yet. Even in code written by other people. So I have trouble grasping the theoretical potential discomfort that others warm me might affect them stumbling upon a var.
Ummm, I don't think the using clause statement is actually meant for typedef duties.
var is almost as evil as goto.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013