• Anonymous (unregistered)

    And this is one of those reasons why self-documenting code (purism esp.) is retarded.

  • DeMorgan (unregistered) in reply to Abso
    /// 
    /// If this is true, then setting "store price" changes store
    /// product price, updates product price, and updates product
    /// modified timestamp. It does not modify a product that has
    /// non-default pricing already.
    ///
    /// If this is false, then setting "store price" does not change store
    /// product price, or does not update product price, or does not update product
    /// modified timestamp, or it modifies a product that has
    /// non-default pricing already.
    /// 
    
  • (cs) in reply to gallier2

    [quote user="gallier2"][quote user="Matt Westwood"][quote user="Cad Delworth"]

    I'm suddenly reminded about a WTF of a language - which one I can't remember just now - such that the compiler lets you define variables with as many characters as you like, but only actually takes any notice of the first 31.

    So if you define two variables with names 100-odd characters long, only the last 50 of those being different, the compiler will treat these as the same variable, and not tell you what it's doing.

    Although it may be kind and tell you that you've just tried to declare the same variable twice - I can't say.[/quote]

    That happenned on DOS and early Windows but it was not a language limitation but one of the linker. When C++ was invented with its name mangling scheme this limit was then lifted.

    Early BASICs also had a 2 significant character limit, that was a PITA.[/quote]

    Sounds like Atari BASIC, which never even had loops.

  • C (unregistered) in reply to The Great Lobachevsky
    The Great Lobachevsky:
    Scourge:
    Is it just me or has that string broken the side of the browser, lapsing into freedom out of the confines of the text box?

    Nope, happened to me too in my little "forced by IT to use IE7 world"

    My Opera does the same, i think. Actually, what do you expect your poor browser to do in such a case?!

  • (cs) in reply to C
    C:
    The Great Lobachevsky:
    Scourge:
    Is it just me or has that string broken the side of the browser, lapsing into freedom out of the confines of the text box?

    Nope, happened to me too in my little "forced by IT to use IE7 world"

    My Opera does the same, i think. Actually, what do you expect your poor browser to do in such a case?!

    CSS3 allows further options on how to split up ornery strings for greater flexibility. So future versions of this site might be able to treat such stuff differently. Thot it was worth mentioning.

  • Rachel (unregistered)

    Clay continues, "someone should write a plug-in that limits method names to a sane amount of characters."

    Maybe after that, they could also write one that limits Property names. Because that's what this is - an automatic Property, not a Method.

    Are we absolutely certain that Clay didn't write this code himself?, perhaps in the form of some deranged programmer alterego like in The Dark Half? Because honestly, anybody that could get those two mixed up might JustBeCrazyEnoughToComeUpWithAPropertyStrokeMethodNameLikeThat. ;)

  • Dacy (unregistered) in reply to Warren

    Double FIRST

    Or maybe not.

    ===================================== http://www.stubstop.com

  • Luiz Felipe (unregistered)
    public writeonly T PropertyMethodGenericFactoryObserverThatCanChangeAPriceOfAPruductInCaseOfProductPriceChangeItAlsoUpdatesTheModifiedTimestampAndTriesToBlowTheWorld { set { SuperUltraSideEffects(); } }
    
    //T has widening cast overload also.
    
    //then to call this method 
    
    PropertyMethodGenericFactoryObserverThatCanChangeAPriceOfAPruductInCaseOfProductPriceChangeItAlsoUpdatesTheModifiedTimestampAndTriesToBlowTheWorld = Convert.ChanteType(true, T);
    
    

Leave a comment on “Double Line”

Log In or post as a guest

Replying to comment #:

« Return to Article