This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Originally posted by Stan James: I think most people prefer
I prefer it that way as it's more clear that "" modifies the type of the variable "cars" and not the variable itself. It also seems less likely that someone will mistake it for a single Vehicle. Moreso, I writeso it stands out.
Having said that, this is probably near the bottom of my list of coding style conventions for which I'm a stickler.