Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. Oh man...

Oh man...

Scheduled Pinned Locked Moved The Weird and The Wonderful
com
18 Posts 12 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Vasudevan Deepak Kumar

    He should be a Technical Lead now.

    Vasudevan Deepak Kumar Personal Homepage
    Tech Gossips
    A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

    CPalliniC Offline
    CPalliniC Offline
    CPallini
    wrote on last edited by
    #8

    Definitely. :-D

    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

    In testa che avete, signor di Ceprano?

    1 Reply Last reply
    0
    • M MarkB777

      string drinkType = tbDrinkType.Text; if (drinkType != "") { tbDrinkType.Text = drinktype; }

      Mark Brock Click here to view my blog

      S Offline
      S Offline
      Spacix One
      wrote on last edited by
      #9

      this could only be better with getter/setter methods!!

      tbDrinkType.Text
      {
      get
      {
      return drinkType;
      }
      set
      {
      drinkType = value;
      }
      }


      -Spacix All your skynet questions[^] belong to solved

      1 Reply Last reply
      0
      • V Vasudevan Deepak Kumar

        He should be a Technical Lead now.

        Vasudevan Deepak Kumar Personal Homepage
        Tech Gossips
        A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

        R Offline
        R Offline
        rbuchana
        wrote on last edited by
        #10

        Not technical lead, but management.

        M J 2 Replies Last reply
        0
        • R rbuchana

          Not technical lead, but management.

          M Offline
          M Offline
          MarkB777
          wrote on last edited by
          #11

          haha!

          Mark Brock Click here to view my blog

          1 Reply Last reply
          0
          • CPalliniC CPallini

            Funny. He/she still keeps on coding? :-D

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

            J Offline
            J Offline
            Jeff Dickey
            wrote on last edited by
            #12

            Some people like hitting themselves on the head with a hammer. Others even enjoy hitting other people on the head with a hammer. This mental singularity obviously is one who innovates on the second group with a _jack_hammer. ;P

            Jeff Dickey Seven Sigma Software and Services Phone/SMS: +65 8333 4403 Yahoo! IM: jeff_dickey MSN IM:    jeff_dickey at hotmail.com ICQ IM:    8053918 Skype:     jeff_dickey

            W 1 Reply Last reply
            0
            • R rbuchana

              Not technical lead, but management.

              J Offline
              J Offline
              Jeff Dickey
              wrote on last edited by
              #13

              There's a difference in your shop?!? Lucky ruddy you! N.B. The above expression of technical information and/or opinion shall not be construed as having anything to do with any previous, current, future or potential client; with competitors, successors and/or assigns of the same; nor with any organisation staffed exclusively by individuals each of whom posess at least two functioning brain cells. N.N.B. The exceptions to the preceding disclaimer should be obvious, self-evident and not in any way identified by (and therefore actionable against) me. So there. ;P

              1 Reply Last reply
              0
              • M MarkB777

                string drinkType = tbDrinkType.Text; if (drinkType != "") { tbDrinkType.Text = drinktype; }

                Mark Brock Click here to view my blog

                M Offline
                M Offline
                Marc Clifton
                wrote on last edited by
                #14

                Management material. Why? 1. discussing what management likes to discuss most, drinking 2. In the way management communicats: repetition and redundancy 3. In the way management thinks: nonsensical Marc

                Thyme In The Country Interacx My Blog

                1 Reply Last reply
                0
                • M MarkB777

                  string drinkType = tbDrinkType.Text; if (drinkType != "") { tbDrinkType.Text = drinktype; }

                  Mark Brock Click here to view my blog

                  D Offline
                  D Offline
                  David St Hilaire
                  wrote on last edited by
                  #15

                  Can you explain the horror? At first I thought you were getting a value from a text box and putting it right back into the text box, but after closer inspection I see that isn't the case (assuming the language is case-sensitive).

                  Y M 2 Replies Last reply
                  0
                  • D David St Hilaire

                    Can you explain the horror? At first I thought you were getting a value from a text box and putting it right back into the text box, but after closer inspection I see that isn't the case (assuming the language is case-sensitive).

                    Y Offline
                    Y Offline
                    Yusuf
                    wrote on last edited by
                    #16

                    David St. Hilaire wrote:

                    Can you explain the horror? At first I thought you were getting a value from a text box and putting it right back into the text box, but after closer inspection I see that isn't the case (assuming the language is case-sensitive).

                    then what else is the code doing. The only exception is when the text in the TextBox is empty

                    Yusuf

                    1 Reply Last reply
                    0
                    • D David St Hilaire

                      Can you explain the horror? At first I thought you were getting a value from a text box and putting it right back into the text box, but after closer inspection I see that isn't the case (assuming the language is case-sensitive).

                      M Offline
                      M Offline
                      MarkB777
                      wrote on last edited by
                      #17

                      The person who wrote this is simply checking if the text in the textbox is empty. a simple: if (tbDrinkType.Text == "") { // Do stuff } would have been quite satisfactory. ;)

                      Mark Brock Click here to view my blog

                      1 Reply Last reply
                      0
                      • J Jeff Dickey

                        Some people like hitting themselves on the head with a hammer. Others even enjoy hitting other people on the head with a hammer. This mental singularity obviously is one who innovates on the second group with a _jack_hammer. ;P

                        Jeff Dickey Seven Sigma Software and Services Phone/SMS: +65 8333 4403 Yahoo! IM: jeff_dickey MSN IM:    jeff_dickey at hotmail.com ICQ IM:    8053918 Skype:     jeff_dickey

                        W Offline
                        W Offline
                        Wiltek Ghozali
                        wrote on last edited by
                        #18

                        :) Can i categorize it with advice ?

                        http://www.wiltech-center.com

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups