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.
  • G Garth J Lancaster

    Sorry, even with my age and looks working against me, I still like live & fresh meat !! Sorta like the difference between Jello & Jewish Princesses ... 'G'

    P Offline
    P Offline
    ProffK
    wrote on last edited by
    #12

    It may not be enough, but you can get live, fresh meat just by eating oysters ;P Hallelucination - when you think you see God

    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

      S Offline
      S Offline
      Stan Shannon
      wrote on last edited by
      #13

      oops, that code has a bug in it (looks like an infinite loop to me )...

      Beer myBeer = new Beer();
      myBeer.setBeerGlassSize("large");
      myBeer.setStrength("8%");
      while (myBeer.getOwnersDrunkenFactor()!="collapsed")
      {
      myBeer.drink(); //otherwise we never collapse...
      myBeer.refill();
      }
      myBeer.eject

      _ 1 Reply Last reply
      0
      • R Roger Wright

        Yup, that's a developer. After a few, though, things start to get fuzzy: #include #include #include Beer myBeer = new Beer(); myBeer.setGlassSize("Pitcher"); myBeer.setStrength("any"); myBeer.setBrand("any"); myBeer.Drink(); while (myBeer.getKegStatus() != ERR_KEG_EMPTY) { myBeer.refill(); } If (fembarfly == ATTRACTIVE) { If (!CCab.Call()) CRuminants.RentASheep(); Else CCab.GoHome(); } myBeer.Eject(PROJECTILE_MODE_ACTIVE); "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.

        A Offline
        A Offline
        Anders Molin
        wrote on last edited by
        #14

        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 1 Reply Last reply
        0
        • R Rob Manderson

          I'm not sure I can put my finger on just why, but this sounds like it might have come from Michael Martin :) 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

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #15

          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 1 Reply Last reply
          0
          • S Stan Shannon

            oops, that code has a bug in it (looks like an infinite loop to me )...

            Beer myBeer = new Beer();
            myBeer.setBeerGlassSize("large");
            myBeer.setStrength("8%");
            while (myBeer.getOwnersDrunkenFactor()!="collapsed")
            {
            myBeer.drink(); //otherwise we never collapse...
            myBeer.refill();
            }
            myBeer.eject

            _ Offline
            _ Offline
            _Magnus_
            wrote on last edited by
            #16

            I think that version will throw an OutOfBeer exception since myBeer.drink() is called without filling the glass. :~ /Magnus


            - I don't necessarily agree with everything I say

            S 1 Reply Last reply
            0
            • G Garth J Lancaster

              Sorry, even with my age and looks working against me, I still like live & fresh meat !! Sorta like the difference between Jello & Jewish Princesses ... 'G'

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

              >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...

              B R 2 Replies 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
                G Raven
                wrote on last edited by
                #18

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

                R 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

                  A Offline
                  A Offline
                  Aryo Handono
                  wrote on last edited by
                  #19

                  Chris Maunder wrote: myBeer.eject(); I prefer use myBeer.Dispose(); :-D:-D "Courage choose who will follow, Fate choose who will lead" - Lord Gunner, Septerra Core "Press any key to continue, where's the ANY key ?" - Homer Simpsons Drinking gives me amazing powers of insight. I can solve all the worlds problems when drunk, but can never remember the solutions in the morning. - Michael P Butler to Paul Watson on 12/08/03

                  1 Reply Last reply
                  0
                  • J Jorgen Sigvardsson

                    Michael P Butler wrote: And the good thing about it being C#, it'll clear up the mess after itself Yes, but when!? Thank god for stack based objects in C++ - deterministic finalization is a good thing. Unfortunately not very common in the beer drinking process. :( -- I am perpetual, I keep the country clean.

                    I Offline
                    I Offline
                    Ian Darling
                    wrote on last edited by
                    #20

                    Jörgen Sigvardsson wrote: Thank god for stack based objects in C++ - deterministic finalization is a good thing. Unfortunately not very common in the beer drinking process Not even when you "stack" the empty pint glasses up to try and reach the ceiling before the bar staff collect them? :-D -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky

                    J 1 Reply Last reply
                    0
                    • I Ian Darling

                      Jörgen Sigvardsson wrote: Thank god for stack based objects in C++ - deterministic finalization is a good thing. Unfortunately not very common in the beer drinking process Not even when you "stack" the empty pint glasses up to try and reach the ceiling before the bar staff collect them? :-D -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky

                      J Offline
                      J Offline
                      Jorgen Sigvardsson
                      wrote on last edited by
                      #21

                      Anybody who tries to smash the stack deserves some kind of punishment.. ;) -- I am perpetual, I keep the country clean.

                      I 1 Reply Last reply
                      0
                      • J Jorgen Sigvardsson

                        Anybody who tries to smash the stack deserves some kind of punishment.. ;) -- I am perpetual, I keep the country clean.

                        I Offline
                        I Offline
                        Ian Darling
                        wrote on last edited by
                        #22

                        Jörgen Sigvardsson wrote: Anybody who tries to smash the stack deserves some kind of punishment :laugh: -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky

                        1 Reply Last reply
                        0
                        • P Paul Watson

                          >If (fembarfly == ATTRACTIVE) Slight change. If (fembarfly == ATTRACTIVE || NumberOfBeers > FemSelectionDiscriminationLevel) >PROJECTILE_MODE_ACTIVE :laugh: What a constant. 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...

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #23

                          Thats why girls go to the toilet in pairs - protection ! The tigress is here :-D

                          P 1 Reply Last reply
                          0
                          • _ _Magnus_

                            I think that version will throw an OutOfBeer exception since myBeer.drink() is called without filling the glass. :~ /Magnus


                            - I don't necessarily agree with everything I say

                            S Offline
                            S Offline
                            Stan Shannon
                            wrote on last edited by
                            #24

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

                            M 1 Reply Last reply
                            0
                            • M Michael P Butler

                              Chris Maunder wrote: myBeer.eject(); And the good thing about it being C#, it'll clear up the mess after itself ;-) Michael But you know when the truth is told, That you can get what you want or you can just get old, Your're going to kick off before you even get halfway through. When will you realise... Vienna waits for you? - "The Stranger," Billy Joel

                              B Offline
                              B Offline
                              Brian Delahunty
                              wrote on last edited by
                              #25

                              :rolleyes: Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
                              http://www.briandela.com/pictures Now with a pictures section :-D
                              http://www.briandela.com/rss/newsrss.xml RSS Feed

                              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'

                                B Offline
                                B Offline
                                Brian Delahunty
                                wrote on last edited by
                                #26

                                :-D Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
                                http://www.briandela.com/pictures Now with a pictures section :-D
                                http://www.briandela.com/rss/newsrss.xml RSS Feed

                                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...

                                  B Offline
                                  B Offline
                                  Brian Delahunty
                                  wrote on last edited by
                                  #27

                                  I'm lost too. Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
                                  http://www.briandela.com/pictures Now with a pictures section :-D
                                  http://www.briandela.com/rss/newsrss.xml RSS Feed

                                  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

                                    L Offline
                                    L Offline
                                    LongRange Shooter
                                    wrote on last edited by
                                    #28

                                    ...your friend tells you about the neat coding tricks he read about during his honeymoon. _____________________________________________ Of all the senses I could possibly lose,
                                    It is most often the one called 'common' that gets lost.

                                    1 Reply Last reply
                                    0
                                    • L Lost User

                                      Thats why girls go to the toilet in pairs - protection ! The tigress is here :-D

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

                                      You mean they don't do that to go and talk about me? Bugger. 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...

                                      1 Reply Last reply
                                      0
                                      • 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
                                          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