Edit and Continue Leads to Bad Programming Habits?
One of the things MS is returning to VB with the Whidbey release is Edit and Continue Debugging feature. I for one do not see why this is such a great thing, and I was a VB 3-6 programmer. I never used this feature, and don’t encourage its use. I talked to a couple developers last night about this, and they were all in favor of it. They were trying to say that it saves them time coding and debugging, but if it takes you that long to build and step thru code to get to the area of code you are trying to debug, maybe the problem is your architecture, not the debugging tools. I break my apps into logical and physical components, and create test harnesses for each component. This way I get true unit testing, and only have to concentrate on debugging one component at a time. Once I get the component working correctly, I rarely have to step thru it while debugging another component. It makes my life so much easier, and eliminates the crazy spaghetti code that can occur if you try to put everything in one project. If I have to go too deep into a component, I trying to see if I really need it all in one component. Sometimes I do, but more than likely, I didn’t, I was just lazy, and didn’t split it out. Without Edit and Continue, it forces me to evaluate if I really need that code in the same project. Just my opinion.
DonXML