다음을 통해 공유


Edit and Continue in Whidbey...

Soma has just announced that C# will support Edit and Continue in Whidbey.

Waaay back when we first planned Whidbey, one of the questions we asked was "is refactoring or edit and continue more important"? We knew that our users wanted both, but we didn't have schedule time to do them.

The answers we got back were along the lines of "refactoring, but we'd also like E&C as well".

At the time, it was an either/or choice, and we did refactoring. After talking with customers at the last PDC, it was apparent that the desire for E&C was pretty high. We explored if there was any way to do E&C in Whidbey, and came up with a way to make it happen. And now, thanks to the hard work of many on the C# team (excluding me, who didn't really do much of anything), the feature will be available in the next community preview.

So why didn't we tell you earlier? Why did Eric lie to you when you came up to him at TechEd and asked about E&C?

Well, the fact is, it was a very near thing. If a few technical details or schedule points had come out a bit different, it wouldn't have made it into the product. We decided to delay announcing until things were firm rather than risk having to de-announce a feature.

Comments

  • Anonymous
    October 15, 2004
    This is fantastic news. My opion has been that E&C was always going to give me a much bigger productivity boost than refactoring.

    I guess it comes down to programming styles which is more important to an individual, but to get both is excellent news.

    Nice one guys
  • Anonymous
    October 15, 2004
    This was the best news that I heard about Whidbey and Longhorn since the PDC.
    Thanks and Congratulations to the guys who made it happen!

    Horst
    P.S.: It was a shame that only VB had it so far :-D
  • Anonymous
    October 15, 2004
    But this also means that the C# team apparently had time left to do this feature, or are there features dropped because of this?
  • Anonymous
    October 15, 2004
    Wow! This is awesome news, a long-awaited feature that almost anyone who uses C# will be drooling about. and yes as Frans asked, has anything being dropped because of E&C?
  • Anonymous
    October 15, 2004
    Wahooo!!!! Thank you!!!!

    We were thinking about switching to VB.NET just because of E&C. I can't tell you how happy I am that we'll now be able to stick with C#.

  • Anonymous
    October 15, 2004
    Wow! Awesome! Finally! Now everyone can benefit from this and use it constantly from it being just written once. I am glad they were able to put this in.
  • Anonymous
    October 15, 2004
    old news. This was mentioned in a keynote speech months ago.
  • Anonymous
    October 15, 2004
    As someone that first used edit-and-continue 18 years ago [1], and currently uses it in Java environments, edit-and-continue is:

    (a) nice to have, so long as it is used in a disciplined way

    (b) much less useful than a good refactoring environment

    [1] in Apple's Smalltalk; yes, Apple did implement Smalltalk on the original Mac - 1MB RAM, no hard disk! It has taken other environments 20 years and 100 times the ram to catch up :)
  • Anonymous
    October 16, 2004
    great guys, go on lying about future thechnolgies, it's better than having to tell it's not possible...because someone else could then take advantage of it
  • Anonymous
    October 16, 2004
    The comment has been removed
  • Anonymous
    October 16, 2004
    The comment has been removed
  • Anonymous
    October 17, 2004
    Fantastic!
  • Anonymous
    October 17, 2004
    Hats Off...for making E&C feature available when it will be needed most to fulfill market demands along with quality, efficient and productive output.
  • Anonymous
    October 17, 2004
    this is really nice, imo the greatest whidbey news ever :)
  • Anonymous
    October 17, 2004
    Thankyou
  • Anonymous
    October 17, 2004
    Tom Gardner wrote: "C# is Java with different libraries, slightly different syntax, and a little bit of syntatic sugar"

    That's so untrue. Properties, Attributes, Generics (properly implemented), unsafe, anonymous methods, iterators, events are all huge features that ultimately make your C# code look as different to Java as Java does to C++. For examply, in what possible way does the following code look like Java?

    [CLSCompliant(false)]
    public IEnumerable<Individual> All() {
    foreach(XPathNavigator indiPointer in _individuals.Values) {
    Individual indi = CreateIndividual();
    indi.Load(indiPointer, _dateExpr);

    yield return indi;
    }
    }

    We have attributes, generics, the foreach statement and iterators. The corresponding Java code would be at least double the size and more likely 5x as big (if you were to fully implement the Enumerator)
  • Anonymous
    October 17, 2004
    The comment has been removed
  • Anonymous
    October 17, 2004
    VS 2005 - C# でもエディット&コンティニューをサポート
  • Anonymous
    October 18, 2004

    Goood work guys!
    Thank you very much!

  • Anonymous
    October 18, 2004
    tyyyyyyyyyyyyyyyyyyyyyy
  • Anonymous
    October 18, 2004
    I'm interested in programming in C# and would like to purchase VC#.NET 2005 Standard Edition. Where can I find infomation on when this would be released? Also, would the pricing be similar to that of the 2003 edition ($109)?
  • Anonymous
    October 18, 2004
    To brings some facts to this discussion, here is what the equivalent Java code would look like (though obviously CLSCompliant doesn't make much sense for Java).

    As you can see 5x is a bit of an exaggeration. The only reason this code is larger than the C# your example is because of your use of yield, which is the only feature in C# that does not have a straightforward equivalent in Java. It's a nice feature, but not one that I would use regularly.

    @CLSCompliant(false)
    public Iterator<Individual> all() {
    return new Iterator<Individual>() {
    Iterator<XPathNavigator> i = _individuals.getValues().iterator();

    public Individual next() {
    Individual indi = createIndividual();
    indi.load(i.next(), _dateExpr);
    return indi;
    }

    public boolean hasNext() {
    return i.hasNext();
    }
    public void remove() {
    i.remove();
    }
    };
    }
  • Anonymous
    October 18, 2004
    Hmm, is there any way to get this site to preserve whitespace?
    &nbsp;&nbsp;&nbsp;&nbsp;Test
    <pre>
    Test
    </pre>
  • Anonymous
    October 18, 2004
    No, guess not ;-)
  • Anonymous
    October 18, 2004
    Awesome,

    I'm falling in loving with Viual C# like Mr. Gates loves VB :)

    But, I thinks Mr. Gates has been having an affair with C# lately :D

    Just wanted to express my excitment for the soon to be released Whidbey. Didn't mean to offend anybody.

    Later all.

    HN
  • Anonymous
    October 24, 2004
    This is outstanding. Thanks guys!
  • Anonymous
    October 29, 2004
    ok
  • Anonymous
    November 02, 2004
    http://www.xgsmhlhc.com/
  • Anonymous
    December 18, 2004
    Helpful For MBA Fans.
  • Anonymous
    December 18, 2004
    Helpful For MBA Fans.
  • Anonymous
    June 09, 2009
    PingBack from http://hairgrowthproducts.info/story.php?id=173