To comment further on the idea that the developer should truly understand when to use it or not, is that, as the definition of the VAR keyword becomes more and more obvious, it will be used by some of the lazy developers to really declare their variables as VAR rather than using the type. This is really where the problem lies: the VAR should be used when the type of the object we get is unknown, but some will abuse its power and start to write less readable code (we know that's true, and hope we will not get to a point where every declaration will be VAR xyz).
↧