Must....not....kill....
-
a = cx.ExecuteQuery("select top (1) a from foo where id={0}", id).First();
b = cx.ExecuteQuery("select top (1) b from foo where id={0}", id).First();
c = cx.ExecuteQuery("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
-
a = cx.ExecuteQuery("select top (1) a from foo where id={0}", id).First();
b = cx.ExecuteQuery("select top (1) b from foo where id={0}", id).First();
c = cx.ExecuteQuery("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
-
Tomaž Štih wrote:
I think this is the guy you're looking for.
Tools don't create bad code, it's the person wielding the tool!
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 what I always say about guns. :cool:
-
a = cx.ExecuteQuery("select top (1) a from foo where id={0}", id).First();
b = cx.ExecuteQuery("select top (1) b from foo where id={0}", id).First();
c = cx.ExecuteQuery("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
This is were the Warhammer 40K universe gets it right, I think. They lobotomize and reeducate people like that. Clean, cost effective, ecological. I've pitched a similar idea, but marketing disagrees every time I propose to stab people. The numbers check out though; the reduction in technical debt and project costs is significant, even if you reallocate resource to pay for the funerals.
-
a = cx.ExecuteQuery("select top (1) a from foo where id={0}", id).First();
b = cx.ExecuteQuery("select top (1) b from foo where id={0}", id).First();
c = cx.ExecuteQuery("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
-
a = cx.ExecuteQuery("select top (1) a from foo where id={0}", id).First();
b = cx.ExecuteQuery("select top (1) b from foo where id={0}", id).First();
c = cx.ExecuteQuery("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
I don't get it ! ! ! Why must you 'not kill'? It seems justified.