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. The Lounge
  3. You know you're a developer when...

You know you're a developer when...

Scheduled Pinned Locked Moved The Lounge
43 Posts 23 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.
  • A Anders Molin

    Roger Wright wrote: #include Looks like you are using C++ ;) Roger Wright wrote: Beer myBeer = new Beer(); myBeer.setGlassSize("Pitcher"); Will not compile, use -> instead of . myBeer->setGlassSize("Pitcher"); Sorry, I just had to... - Anders Money talks, but all mine ever says is "Goodbye!" My Photos[^] nsms@spyf.dk <- Spam Collecting ;)

    R Offline
    R Offline
    Roger Wright
    wrote on last edited by
    #30

    So that's why I hadn't stopped drinking before I wrote that bit!:doh: Thanks!:-D "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.

    1 Reply Last reply
    0
    • P Paul Watson

      >Sorta like the difference between Jello & Jewish Princesses ... Right. What on God's Green Earth does that mean? regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand? Einstein says...

      R Offline
      R Offline
      Roger Wright
      wrote on last edited by
      #31

      Jello moves when you poke it.;P "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.

      P 1 Reply Last reply
      0
      • S Stan Shannon

        Damn! You're right. Oh, well, put it in a try/catch and forget about it. :sigh:

        M Offline
        M Offline
        Maximilien
        wrote on last edited by
        #32

        if you throw that beer, I will try to catch it !


        Maximilien Lincourt Your Head A Splode - Strong Bad

        1 Reply Last reply
        0
        • R Roger Wright

          Jello moves when you poke it.;P "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.

          P Offline
          P Offline
          Paul Watson
          wrote on last edited by
          #33

          So do bushes, sheep, goats, LEGO mounds and lazyboy chairs. I get the jello bit now, thanks to David, but I still don't get what is so special about a Jewish princess? regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand? Einstein says...

          R 1 Reply Last reply
          0
          • P Paul Watson

            So do bushes, sheep, goats, LEGO mounds and lazyboy chairs. I get the jello bit now, thanks to David, but I still don't get what is so special about a Jewish princess? regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand? Einstein says...

            R Offline
            R Offline
            Roger Wright
            wrote on last edited by
            #34

            Paul Watson wrote: I still don't get what is so special about a Jewish princess? It's a stereotype, the full name being Jewish American Princess. She is typically uninterested in sex, very interested in shopping, self-centered and spoiled. There was a rash of JAP jokes years ago: What does a JAP say while making love? "Beige. I think we should paint the ceiling beige." What's the worst problem for a JAP after having a colostomy" Finding shoes to match the bag. What's a JAP's favorite position? Facing Bloomingdale's. This page[^] might give you a better feel for the concept.:-D "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.

            G 1 Reply Last reply
            0
            • G G Raven

              If (fembarfly == ALIVE | HASMORETHAN3TEETH) ... G. Raven

              R Offline
              R Offline
              Roger Wright
              wrote on last edited by
              #35

              If you'd ever been to Bullhead City, AZ, you wouldn't be so picky. X| "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.

              1 Reply Last reply
              0
              • C Chris Maunder

                ...a friend sends you his plans for the evening thus:

                Beer myBeer = new Beer();
                myBeer.setBeerGlassSize("large");
                myBeer.setStrength("8%");
                myBeer.drink();

                while (myBeer.getOwnersDrunkenFactor()!="collapsed") {
                myBeer.refill();
                }

                myBeer.eject();

                cheers, Chris Maunder

                J Offline
                J Offline
                Jeremy Kimball
                wrote on last edited by
                #36

                There's a bug in your code :) Chris Maunder wrote: myBeer.drink();while (myBeer.getOwnersDrunkenFactor()!="collapsed") { myBeer.refill();} If you want to ever achieve the "collapsed" state, you'd need to modify it:

                while( myBeer.getOwnersDrunkenFactor() != collapsed ) {
                myBeer.drink();
                if( myBeer.getContents() == "empty" ) {
                myBeer.refill();
                }
                }

                ;) Jeremy Kimball

                J 1 Reply Last reply
                0
                • J Jeremy Kimball

                  There's a bug in your code :) Chris Maunder wrote: myBeer.drink();while (myBeer.getOwnersDrunkenFactor()!="collapsed") { myBeer.refill();} If you want to ever achieve the "collapsed" state, you'd need to modify it:

                  while( myBeer.getOwnersDrunkenFactor() != collapsed ) {
                  myBeer.drink();
                  if( myBeer.getContents() == "empty" ) {
                  myBeer.refill();
                  }
                  }

                  ;) Jeremy Kimball

                  J Offline
                  J Offline
                  Jeremy Kimball
                  wrote on last edited by
                  #37

                  *sigh* here I am, thinking I was original... Gotta learn to read the whole thread before replying :P Jer

                  1 Reply Last reply
                  0
                  • L Lost User

                    Rob Manderson wrote: I'm not sure I can put my finger on just why, but this sounds like it might have come from Michael Martin :) I'd like to take credit Rob, but I can't. I haven't coded anything for over 2 years and it took 3 readings to get it all. All I'm good for now is twist, drink, twist, drink. Michael Martin Australia "I suspect I will be impressed though, I am easy." - Paul Watson 21/09/2003

                    R Offline
                    R Offline
                    Rob Manderson
                    wrote on last edited by
                    #38

                    Michael Martin wrote: All I'm good for now is twist, drink, twist, drink Which is better than a poke in the eye with a burnt stick :) Rob Manderson http://www.mindprobes.net **Paul Watson wrote:**What sense would you most dislike loosing? Ian Darling replied. Telepathy Then I'd no longer be able to find out everyones dirty little secrets The Lounge, December 4 2003

                    1 Reply Last reply
                    0
                    • Y yetanotherchris

                      Those set methods look worryingly like a java programmer's way of setting fields :~

                      A Offline
                      A Offline
                      Alvaro Mendez
                      wrote on last edited by
                      #39

                      I noticed that too! Assuming it's Java, did you spot the bug in this line?

                      while (myBeer.getOwnersDrunkenFactor()!="collapsed")

                      Then again, an infinite loop may be just fine. :-) Regards, Alvaro


                      He who laughs last, thinks slowest.

                      1 Reply Last reply
                      0
                      • G Garth J Lancaster

                        Paul Watson wrote: If (fembarfly == ATTRACTIVE || NumberOfBeers > FemSelectionDiscriminationLevel) I'd settle for :- If (fembarfly == ALIVE ..... :-O 'G'

                        G Offline
                        G Offline
                        Giles
                        wrote on last edited by
                        #40

                        Garth J Lancaster wrote: I'd settle for :- If (fembarfly == ALIVE ..... I like yur thinking. Go get her......


                        "Je pense, donc je mange." - Rene Descartes 1689 - Just before his mother put his tea on the table. Shameless Plug - Distributed Database Transactions in .NET using COM+

                        1 Reply Last reply
                        0
                        • R Roger Wright

                          Paul Watson wrote: I still don't get what is so special about a Jewish princess? It's a stereotype, the full name being Jewish American Princess. She is typically uninterested in sex, very interested in shopping, self-centered and spoiled. There was a rash of JAP jokes years ago: What does a JAP say while making love? "Beige. I think we should paint the ceiling beige." What's the worst problem for a JAP after having a colostomy" Finding shoes to match the bag. What's a JAP's favorite position? Facing Bloomingdale's. This page[^] might give you a better feel for the concept.:-D "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.

                          G Offline
                          G Offline
                          Garth J Lancaster
                          wrote on last edited by
                          #41

                          Thanks for explaining that Roger ... I should never have gone down that road though, I was doomed from the moment I tried to indicate I liked my women at least 'alive' I'm not really that shallow, unfortunately for me - intelligence, humour, 'wit' acutally all count up there as 'must haves' as well .. talk about heading to be the worlds oldest bachelor, Im well on the way .. 'G'

                          R 1 Reply Last reply
                          0
                          • G Garth J Lancaster

                            Thanks for explaining that Roger ... I should never have gone down that road though, I was doomed from the moment I tried to indicate I liked my women at least 'alive' I'm not really that shallow, unfortunately for me - intelligence, humour, 'wit' acutally all count up there as 'must haves' as well .. talk about heading to be the worlds oldest bachelor, Im well on the way .. 'G'

                            R Offline
                            R Offline
                            Roger Wright
                            wrote on last edited by
                            #42

                            Garth J Lancaster wrote: the worlds oldest bachelor, Im well on the way Though you don't have your birthdate posted, statistically it's a safe bet that this old fart is well ahead of you...;P "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.

                            G 1 Reply Last reply
                            0
                            • R Roger Wright

                              Garth J Lancaster wrote: the worlds oldest bachelor, Im well on the way Though you don't have your birthdate posted, statistically it's a safe bet that this old fart is well ahead of you...;P "Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.

                              G Offline
                              G Offline
                              Garth J Lancaster
                              wrote on last edited by
                              #43

                              well, I'd have to say your statiscal guess has a fairly high confidence level !!!! - you are ahead by 11 years !!!!! (20th Feb 1965, I'll be 39 this year, groan, then comes 40 ...) If I have my wits about me even half as much as you appear to do, It wont be so bad .. 'G'

                              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