|
Aww cr@p, I met these kind of "people"... and I'm currently maintaining their "work".
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Gary Wheeler wrote: zero-order asshat
That is probably the best quote I've seen in awhile
|
|
|
|
|
:bows:
Thank you, thank you! I'm here all week. Try the veal, it's to die for!
Software Zen: delete this;
|
|
|
|
|
Gary Wheeler wrote: Try the veal, it's to die for!
Is it ... veally good?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I think it meats and exceeds people's expectations.
|
|
|
|
|
It looks similar to the code I have to maintain. My gods...
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
You have my most profound sympathies. Maybe we should start our own support group.
Oh wait.
That's what this forum is...
Software Zen: delete this;
|
|
|
|
|
a = cx.ExecuteQuery<string>("select top (1) a from foo where id={0}", id).First();
b = cx.ExecuteQuery<string>("select top (1) b from foo where id={0}", id).First();
c = cx.ExecuteQuery<decimal>("select top (1) c from foo where id={0}", id).First();
... and about 20 more of those, yes, each effectively querying a scalar from foo with the same qualifier.
Major redaction in the above, but you get the idea.
So many things wrong about this. And people here wonder why the performance of nightly jobs is so bad.
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
(Probably) Paid by lines of code
|
|
|
|
|
|
|
Relaxing, that's just what Marc needs
|
|
|
|
|
Adamski actually met that guy he was cool
|
|
|
|
|
Haven't heard much of him after his hit with "Killer", I wonder what has become of him ...
|
|
|
|
|
RickZeeland wrote: Listen to this and you will feel better: Adamski & Seal -
Restricted at work. It'll have to wait until I get home.
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
That's why we're expensive
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
The whole code I'm working on right now is like that but worse.
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Subject: Must....not....kill....
you can always claim self-defense.
|
|
|
|
|
Slacker007 wrote: you can always claim self-defense.
No, this would be obvious murder. Mercy killing, granted, but still killing.
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
I prefer to think of it as giving natural selection a helping hand.
Software Zen: delete this;
|
|
|
|
|
Marc/others - be gentle with me . This is what, C#? So someone seriously got carried away with cut and paste...
Did I understand your rant correctly?
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
charlieg wrote: with cut and paste.
Cut & paste would have been OK. This was copy and paste!
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
No no no! Do not change that, you'll break it!
Don't you see that the other fields in that row of the table might change between queries? There's no transaction around these queries after all!
And also the id parameter might change between queries, if a different process has write access to it.
Oh, another thing: are you sure that the id column of the table is unique?
So many things could go wrong with your refactoring. Better don't do that! You cannot find out what the original developer thought when he wrote that code thanks to a lack of proper documentation.
Oh sanctissimi Wilhelmus, Theodorus, et Fredericus!
|
|
|
|
|
Bernhard Hiller wrote: You cannot find out what the original developer thought
You're making a big assumption there!
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
I've come across worse. We had a programmer once that did a
select * from table
and then looped through the results until he found what he was looking for. Funnily enough, performance was OK on his test database, not so good on a production customer database.
|
|
|
|