You know you're a developer when...
-
...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
...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. -
Thats why girls go to the toilet in pairs - protection ! The tigress is here :-D
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...
-
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 ;)
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.
-
>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...
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.
-
Damn! You're right. Oh, well, put it in a try/catch and forget about it. :sigh:
if you
throw
that beer, I willtry
tocatch
it !
Maximilien Lincourt Your Head A Splode - Strong Bad
-
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.
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...
-
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...
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.
-
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.
-
...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
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
-
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
*sigh* here I am, thinking I was original... Gotta learn to read the whole thread before replying :P Jer
-
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
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
-
Those set methods look worryingly like a java programmer's way of setting fields :~
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.
-
Paul Watson wrote: If (fembarfly == ATTRACTIVE || NumberOfBeers > FemSelectionDiscriminationLevel) I'd settle for :- If (fembarfly == ALIVE ..... :-O 'G'
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+
-
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.
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'
-
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'
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.
-
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.
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'