Edit & Continue in C#... Why?#

What's all this fuss about Edit & Continue making it into C#?

I've never really missed it much, and I believe it makes you think harder before you code if you don't have the 'luxury' of coding-as-you-go. I do believe it makes sense in a few scenarios - e.g. when you have a reaaally big project and you don't want to have to recompile for a simple 'i <= length - 1' mistake (but then again, do you really need your project to be that big?) - but in the majority of cases, I just don't see the need.

Thoughts? Prove me wrong!

Blog | Programming | .NET | VS.NET | Whidbey
Tuesday, October 19, 2004 7:27:53 AM (Romance Standard Time, UTC+01:00)
I don't have any experience with C# but I can say I'd give my left `fill in a body part here` for that feature in a Java IDE. JBuilder kinda supports this (smart-swap), but it doesn't always work.

Prove you wrong? You've done that yourself already imho, cases like you gave an example of (i <= length - 1) are exactly the cases were I need/want/wish an edit&continue-like feature in Java for. In fact, those are the only cases, as for any larger changes, I'd want to re-run my Unit tests first of course ;) I think I spend 30% of my time watching Tomcat start up again after changing those annoying small bugs. But then again, this is just the opinion of a Java programmer... (and Tomcat boots rather slow :( )
Nico Mommaerts
Thursday, October 28, 2004 10:04:58 AM (Romance Standard Time, UTC+01:00)
I can actually tell you that this is a very good option that will be build into the new VS.
We work here on a ver big project where you need to attach the aspnet service each time to your debugger ... of you need to stop everything just to change one letter (or a minus or so) you loose a lot of time.

Not all projects are small ... don't forget that
Thursday, October 28, 2004 10:14:51 AM (Romance Standard Time, UTC+01:00)
-Nico,

Very good point on your unit tests, I like your thinking :-)

-Bart,

Don't get me wrong, I'm not pretending all projects are small. I've worked on projects that take an hour to build so believe me, I know. But I do think that you can factor the solution *you're currently working on* to be quite small most of the time.

But I see your points in both cases: it can take a while if your project is hosted in any sort of container (be it Tomcat e.a. or ASP.NET) and that can make it very annoying to make a minor code change.

That said, I'm just afraid that with this feature, you'll be less likely to think before you code and just run it and adapt it 'until it works' (or seems to work).
Wednesday, November 24, 2004 12:41:41 PM (Romance Standard Time, UTC+01:00)
I go with your words Druyts. Though I am a C# developer for the past 2 yrs, I do agree that this feature could very well have an impact on the programmer's thought process.
Comments are closed.
All content © 2012, Jelle Druyts
On this page

Recent Photos
www.flickr.com
This is a Flickr badge showing public photos from Jelle Druyts. Make your own badge here.
Advertising
Top Picks
Statistics
Total Posts: 350
This Year: 0
This Month: 0
This Week: 0
Comments: 530
Archives
Sitemap
Disclaimer
This is my personal website, not my boss', not my mother's, and certainly not the pope's. My personal opinions may be irrelevant, inaccurate, boring or even plain wrong, I'm sorry if that makes you feel uncomfortable. But then again, you don't have to read them, I just hope you'll find something interesting here now and then. I'll certainly do my best. But if you don't like it, go read the pope's blog. I'm sure it's fascinating.

Powered by:
newtelligence dasBlog 2.0.7226.0

Sign In