C# Var : The Religious War
Posted on July 14, 2008OK. So I had no clue when I posted previously about the C# var keyword that the use of var is a religious war that's going on right now. I'm not sure where I stand right now, I'd have to say, "it depends".
I wouldn't use it in my current work, it would confuse other devs not up on the var usage and would unnecessarily complicate things at this time.
I'm also not sure due to the fact that people far smarter than me are on both sides of the fence, so right now is a good time to sit back and REALLY think before introducing var into my everyday code.