|
I had fun with Yodel - bought something from a bloke in the Netherlands and it was sent with tracking info, so I followed it. From Holland to Hatfield, then to Warrington (v. close) & saw the 'out for delivery' status. Then saw a 'problem with address' status & it went to Basildon (poor thing), where it stayed through about 4 chat sessions & a couple of phone calls for around a week.
The tracking still said it was in Basildon even when the package was sat on my desk - probably still does.
|
|
|
|
|
A mile of spaghetti code, with some random objects here and there and calling a few thousand lines worth of stored procedures for good measure. In there obviously some unhandled exceptions occur and the whole thing therefore occasionally aborts somewhere in the middle and does not even leave a hint to what went wrong.
Only one way to go: Add a generous amount of logging and Pokemon exception handling (You got to catch them all!)
If i ever catch that guy who produces that kind of code!
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
|
|
|
|
|
Sounds delicious! When is supper?
|
|
|
|
|
CDP1802 wrote: In there obviously some unhandled exceptions occur There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies.
— C.A.R. Hoare, The 1980 ACM Turing Award Lecture
CDP1802 wrote: Pokemon exception handling (You got to catch them all!) That's worth an upvote and a place among the quotes hall of fame, right next to C.A.R. Hoare
My blog[ ^]
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
|
|
|
|
|
It sounds more like all spaghetti and NO meatballs!
|
|
|
|
|
Cornelius Henning wrote: It sounds more like all spaghetti and NOmystery meatballs!
FTFY
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
Just think how happy you'll be when you've fixed a little of it.
How many other tasks do you have to do that won't give you that bit of happiness?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
It's not the every day version. It's more like a ball of mud on top of a layer of those stored procedures.
And that's not all! There are triggers on all data tables involved, again thousands of lines long. Every time one of the stored procedures inserts or updates something, an avalanche of those triggers goes off. That's again a layer by itself and even more obscure than the other two.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
|
|
|
|
|
I've just wrapped up some seriously non-spaghetti code, with good exception handling, in a Windows Service. When an exception makes it to the top, i.e. is thrown during the service's Process method, I abort the service and it restarts. It also leaves about 200 rows in the log table for just one run of Process. It's designed to run and keep running, and restart if it has a serious enough exception that things might be broken all over.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
|
|
|
|
|
Possibly an errant Pastafarian paying tribute to the FSM?
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
|
|
|
|
|
cheers
Chris Maunder
|
|
|
|
|
But won't the robot (or alien) be showing a sign for Hi 5, then?
What I wanted to say is, what do you mean by this, Chris?
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
I'm guessing he's excited about this[^], and with good reason!
|
|
|
|
|
Looks like it's got a ton of new goodies. Just started to rewrite my web site a week or so ago using MVC5 and it's already obsolete.
New version: WinHeist Version 2.1.0
My goal in life is to have a psychiatric disorder named after me.
I'm currently unsupervised, I know it freaks me out too but the possibilities are endless.
|
|
|
|
|
Ubuntu (My favorite operating system) finally meets .NET (My favorite programming environment).
I feel on top of the world.
|
|
|
|
|
"Mean decay, mean decay" (6)
Sorry was in a meeting all morning.
|
|
|
|
|
"Defile" means to decay, but also parade i.e. walking around after one another.
It comes from the french word defileé défiler me thinks.
[Corrected to défiler]
Cheers!
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
|
|
|
|
|
|
"Isobar"?
Alas! "Half-life" doesn't go with (6).
Your time will come, if you let it be right.
|
|
|
|
|
|
Parrot
Mean - par
Decay - rot
parrot - to repeat
modified 24-Feb-15 8:53am.
|
|
|
|
|
Mean - par
Eh what?
EDIT:
Ah mean as average : )
Life is too shor
|
|
|
|
|
As in "par for the course" - average
|
|
|
|
|
Well done. See yours tomorrow.
|
|
|
|