partial types

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • news.microsoft.com

    #1

    partial types

    This is gona be fun with code generators, constructors all over the show. I
    remove my constructor from the wizard code (winform generator) and dispose
    method and put it into my own partial cuz im maintaining it now. So what
    does the winform designer do? Readd it? Sory but I just had nothing but bad
    experiences from lazy developers who coded the wizards. We all know that
    AutoScaleBaseSi ze is nothing but a pain in the gonads for developing and
    running on diff windows rigs for winforms of a FIXED size.

    They say its going to make seperation better for wizard generated code, oh
    yeah, we all know how good code wizards are.

    Anonymous methods are going to make lazy programmers come out of the
    woodwork.



  • Daniel O'Connell

    #2
    Re: partial types

    Although this post is ranty and really has no point, I'll address it anyway.
    "news.microsoft .com" <discussion@dis cussion.microso ft.com> wrote in message
    news:OA8seW3oDH A.1928@TK2MSFTN GP12.phx.gbl...[color=blue]
    > This is gona be fun with code generators, constructors all over the show.[/color]
    I[color=blue]
    > remove my constructor from the wizard code (winform generator) and dispose
    > method and put it into my own partial cuz im maintaining it now. So what
    > does the winform designer do? Readd it? Sory but I just had nothing but[/color]
    bad

    The winform designer has no reason to read your constructor or disposable
    implementation. All it is concerned with is the InitalizeCompon ent method.
    As for how does it display a design surface, it would compile the class. So
    I'm not sure what your concerned with here.
    [color=blue]
    > experiences from lazy developers who coded the wizards. We all know that
    > AutoScaleBaseSi ze is nothing but a pain in the gonads for developing and
    > running on diff windows rigs for winforms of a FIXED size.
    >[/color]
    [color=blue]
    > They say its going to make seperation better for wizard generated code, oh
    > yeah, we all know how good code wizards are.[/color]

    In this instance I think they are refering to things like data tier
    generators, form designers, and WSDL generated classes. All three are likely
    to change as well as require manual modification. Wizards aren't the end
    all, but they do alot of work faster(and less errorprone) than a human can
    in a good number of situations.
    [color=blue]
    >
    > Anonymous methods are going to make lazy programmers come out of the
    > woodwork.[/color]

    Tell me, was there actually a point to this?
    [color=blue]
    >
    >
    >[/color]


    Comment

    Working...