|
The argument about forgetting a break statement is not valid as that could apply to forgetting a goto statement too.
And, the Strategy pattern can implement a state machine. There aren't just two alternatives.
|
|
|
|
|
|
During 30 years as programmer - I did not find any case for using GOTO instead break/return/exit_conditions.
|
|
|
|
|
If it was so evil, why is it still there? Mosquitos that spread malaria are around for a reason. Right now, because it causes so many deaths (program crashes?) and suffering (coders finding code difficult to track), we think they're bad. They are there for a reason (keeping human population in check?): all you have to do is figure it out and learn how to respect them (don't create insecticide resistant varieties) and use them properly.
If you have nested loops, how would you jump straight out? Have nested routines with exits? Throw pretending that it is not a goto? Set lots of flags and check them every time? longjmps (goto in function form) are just a variant of goto. Why don't you just use a goto instead of wrecking your brain how not to use one.
If you don't wish to use gotos (squeezing the toothpaste tube in the middle) you don't have to (roll it from the end). Like a toothpaste tube that may not be squeezed the way you like it, you can choose to live with it or let it annoy you. If it annoys you that much, you could use gotoless languages (tooth powder?) like Bliss or Python.
|
|
|
|
|
|
What a clusterelephant it turned out to be.
Went in to work the sh*tty part-time abortion of a job I have at the moment. Had to leave an hour early (money I could have used) to get my daughter to her Futsal game in the extreme inner western suburbs of Sydney (think where Josh and all the other Sydney ponces live). On the way there pass the store I needed to drop into to get a couple of IT items I required. Wanted to drop in on the way but decided I better get daughter to game on time.
So had rang and SMS the coach to advise may be a bit late due to work and traffic getting to where the game is. Was told the game was at 15:00 he likes players there about 45 minutes early. He returns my call a couple of minutes to 14:00 and says Oh, the game's not until 15:45 you'll be nice and early. Then my daughter tells me that we were meant to receive an SMS from the club advising what when and where. Didn't get it. She is the only girl from last years team to return and didn't get a invite at the beginning of the year and I'm not getting emails or messages now.
Not happy Jan! does not begin to explain how I'm feeling about now, 20 minutes out from the sports centre and finding out I don't need to be there for an hour at least.
So I get to watch almost 2 full other games before my daughters game. Boring as bat sh*t.
Then get to fight the traffic on the way home, the only good bit is stopping off to buy my IT bits as the shop always shuts at 18:30. Get there to see that they have a hand written sign on the roller door of the shop advising that store hours had changed as of 07/11/2013 (2 days before, for the date confused Yanks). Mind you nothing on their website and when I was there a few days before nothing visible when the store was open as the roller doors are up.
Then I went home to a house with f*** all alcohol and me not buying any as I'm being good before having to go and get blood tests to get a elephanting docotr to sign off and say I am safe to drive for another year.
If you have diabetes, don't bother telling those sunshines that look after your license. My blood sugar is high all the time if anything and cause one tablet lowers blood sugar I'm in danger on having a sugar low coma. Sorry, didn't I just mention that my sugar level is always high and the doctorts whine at me about it, so low blood sugar coma is not an option. Phuicking Kunts they are.
So anyway, back to my Saturday bitch and moan. About to drive down to computer shop now. Think a couple of elephants and sunshines are about to be dropped.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
That's a pig poo of a day, Mr. MM.
My Saturday was a tad better than yours. Mind you, it pee'ed with rain most of the day so Mrs. W and me pontificated over long-delayed plans about getting out into the garden and giving it its winter cutback and prune; just as soon as the rain eases off and the south-east stops sinking into the English Channel because of the weight of the surface water that has nowhere to go.
We hot-stepped to the mall for coffee and bought some crisps and snacks. I put two bottles of Cooper's and a Boag's in the freezer for a snap chill. Then we settled down and watched the Springboks beat the Sheep Shaggers XV. The beer was most yummington, as was the score.
I went online after and bought two tickets for the Boks game against France in a couple of weeks and we're booked on Eurostar and a hotel for an overnight stay after the game. I hope the French don't ruin my Big Day Out but knowing those buggers, they can surprise at a pinch.
It were a good Sat'dee it was. Better than yours because I had some beer.
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.
|
|
|
|
|
'Twas a good game, even if the 'Bocks won rather than us. Hope they kick some French behind!
I suspect that the treatment you get from the locals will depend on two factors: what you are wearing, and who wins...
The only instant messaging I do involves my middle finger.
English doesn't borrow from other languages.
English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.
|
|
|
|
|
Well, I had to run my 21 km training with a swollen foot, just because the f*#+in' marathon is upcoming...
Veni, vidi, vici.
|
|
|
|
|
Talk about 1st world problems!
Man up!
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
I own a great coat with a sheep wool lined collar (Pictures[^]).
Sad thing is that this one is great for autumn (fall) (temparatures down to 6 C are no problem), but I think it will not be enough for the upcoming cold swiss winter.
So, now here is the big question mark:
Does anybody know where I can get a comfortable winter coat, preferably fully wool lined, for a reasonable price? - If the store isn't located in Switzerland, South Florida, Massachusetts shipping option to switzerland is a must.
I also thought about buying a camel hair coat, but I think it will not be worth the expense.
If you suggest a wool lined coat I prefer suppliers who can assure me that Griff never was near to the sheep nor the wool.
|
|
|
|
|
Marco, check out the wool coats at L L Bean[^]. They offer free shipping (within the US/Canada) and sell extremely good quality and long-lasting products at fair prices. I've been a regular customer of theirs for about 30 years.
/ravi
|
|
|
|
|
LL Bean. That's a mighty fine shop. I went to their shop in Freeport, Maine in 1988 when it was just a small outlet. In 2007, we went there again and it's now the size of a street block or bigger. There is no better outdoors shop than Bean's though they do sell lots of other junk now.
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.
|
|
|
|
|
Thanks Ravi,
Exactly what I was looking for.
Even though we experience a Lot of Snow and cold weather it is hard to find a decent Winter coat in a Swiss Store.
|
|
|
|
|
The Baxter State Parka[^] is very good value for money. It's a goose down coat, and is therefore very warm yet amazingly lightweight. L L Bean has a (rare) sale until the end of Mon 11/11.
Cheers,
/ravi
|
|
|
|
|
Marco Bertschi wrote: If the store isn't located in Switzerland, South Florida...... Yeah, I hear Miami is a real hotspot when it comes to buying sub-zero temperature coats.
Marco Bertschi wrote: If you suggest a wool lined coat I prefer suppliers who can assure me that Griff never was near to the sheep nor the wool. That makes sense, but then you will always wonder who did the 'pre-treatment'. It's a slippery slope.
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
|
I just wrote down The places where I know someone who could send me the stuff
|
|
|
|
|
I figured it was something like that. There could be a store in South Florida with a coat that has been sitting in the back for a couple of years, but I doubt you will find a great selection to choose from.
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
Actually, Florida is an amazing place to look for winter coats if you check out the second hand shops. A lot of people retire down their and get rid of their coats cause they don't need them any more. I had a friend that lived there and she would always send us winter clothes. It was awesome.
|
|
|
|
|
Ok, you got me. I did not consider that angle. When I moved to San Diego, I left all my warm winter clothes at my parents' house in Denmark.
This is a great tip and I think you should post that as a reply to Marco's post so he get's the notification.
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
You can have no fears on that score: all the sheep I know end up with a nice cremation. They go out surrounded by their friends and family.
And roast potatoes and gravy.
The only instant messaging I do involves my middle finger.
English doesn't borrow from other languages.
English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.
|
|
|
|
|
Mutton and potatoes with gravy - yummy!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
I'm always looking at this page cause I don't always remember all the off the wall date formats. I found this!
http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx#yyyyySpecifier[^]
So their Y10K compliant as far as formatting a date? But anything over 9999 blows up. Guess MS has a little bit more work to do on Y10K compliance? Hopefully they get it done on time!
|
|
|
|
|
Windows OICU812 will be coming out that year and will take care of that.
|
|
|
|