Does Visual Studio Rot the Mind?

Definitively, yes, it does.
One basic principle of object-oriented programming is hiding data. This is generally meant to apply between classes. Classes shouldn’t expose everything they have. They should have as small a public interface as possible, and other classes should know only what they need to know. But the principle of data hiding is just as important inside a class. Methods should have limited access to the data that other methods are using. In general, variables should be made local to a method unless there’s a specific reason why they need to be accessed from some other method.
By Charles Petzold. Read his essay Does Visual Studio Rot the Mind?, here
Newer Post Older Post Home