• Skilldrick (unregistered) in reply to nerfer

    :D

  • Skilldrick (unregistered) in reply to nerfer

    I meant to reply to this one...

    nerfer:
    Skilldrick:
    This is all very sensible - string literals don't change, but what if the language changed and started using YES and NO for booleans instead? It's actually very sensible.

    It's also very common in embedded systems where you only have ints and strings.

    Okay...I don't know Skilldrick so I'm hoping this is all tongue-in-cheek humor, including the way-off dig of the embedded world. This all so wrong, so very wrong...

    :D (I really hope everyone does understand that this was tongue-in-cheek)

  • Ant (unregistered)

    "true " != "true"

  • nerfer (unregistered) in reply to Skilldrick
    Skilldrick:
    I meant to reply to this one...
    nerfer:
    Skilldrick:
    This is all very sensible - string literals don't change, but what if the language changed and started using YES and NO for booleans instead? It's actually very sensible.

    It's also very common in embedded systems where you only have ints and strings.

    Okay...I don't know Skilldrick so I'm hoping this is all tongue-in-cheek humor, including the way-off dig of the embedded world. This all so wrong, so very wrong...

    :D (I really hope everyone does understand that this was tongue-in-cheek)

    Thanks. My respect for you has returned. This site gets all kinds of people here with different backgrounds and abilities, and sometimes the comments are as much WTF as the article, so while it seemed deliberately over the top, I didn't want to assume.

    captcha - minim - when the minimum is too much.

  • Untit1ed (unregistered)
  • lollancf37 (unregistered)

    Unbielievable !!

  • Method Man (unregistered)

    webservice.UpdateSettings(tempStartTime, tempEndTime, tempMonday, tempTuesday, tempWednesday, tempThursday, tempFriday, tempSaturday, tempSunday, pType.SelectedValue);

    Um, some webservices require datatypes be in a specific format when passed. One convention I have seen in C# webservices is that boolean values be converted to text values. If he is using a custom webservice interaction object, then the code somewhat makes sense, although he could have been much more efficient.

  • Grant (unregistered) in reply to Jaime
    Jaime:
    A web service will expect XML conforming to the SOAP schema

    So all webservices use SOAP? And XML?

  • anon (unregistered) in reply to anon

    He's loading a resource with that function call

  • Kryptus (unregistered)

    This is obviously not correct !! He should have done this :

    tempMonday = mondayCheckBox.Checked.ToString() !!!

Leave a comment on “"True" and True”

Log In or post as a guest

Replying to comment #:

« Return to Article