Posted on 08/26/2016 6:09:28 PM PDT by Lazamataz
Oh, and forgot to mention: These guys have NEVER heard of the Strategy Pattern or Class factories, apparently.
I saw code like this when on the road. It looked similar but not the same. I got asked to splice a piece of Program A together with a piece of Program B. I got it to compile together by means of writing a big kludgey “thunk” to interface the similar, but not identical, interfaces. Then, mercifully, I got called onto a different project.
USE SOME DECORATOR ATTRIBUTES AND ABSTRACT CLASSES FERGAHSAKE!
(Not you. Indians. I’m yelling at Indians.)
This was in C, no such ruck.
Triple bypass,,,
Step Dad had one of those.
Thanks for the ping.
But in my attempt to sew together this “scientifically accurate CatDog” piece of software, I discovered that about 30% of it all was dead code! Nobody called it.
I worked at an IT company that was mostly Indian for almost two years. It was racist how almost everyone they hired was Indian.
Worst project I ever saw: ONE HUNDRED EIGHTY SEVEN examples of dynamic SQL in the code.
ONE.
HUNDRED.
EIGHTY.
SEVEN.
And, in the landing page, TWENTY includes of a javascript library. The same library. TWENTY TIMES. A round-trip for each include.
And people wondered why the landing page took 45 seconds to load.
LOL
They do that. I had an interview at Macys. All Indians. Curiously, though I was clearly as professionally skilled — maybe even superior — to my interviewers, somehow I was passed over. LOL
Dynamic SQL is a bit slower, but not horribly so. I’ve actually dug into the ORAthis, ORAthat which Oracle uses for its internal interface, and it ends up boiling down to something that has to be parsed at run time anyhow.
I know less about Javascript — that system apparently doesn’t understand when you’re asking to load the same code more than once, and optimize it for you?
You’ve experienced it, apparently. :)
Dude, we need to talk. It's awful.
Dynamic SQL is unacceptable on speed issues (no compiling) and on Best Practices issues (no Reflection, no ability to use Perf Monitor or Execution Planner, just to name two optimizer technologies.) I suspect you are not in Big Data at all. DON'T ALLOW DYNAMIC SQL.
Ive actually dug into the ORAthis, ORAthat which Oracle uses for its internal interface, and it ends up boiling down to something that has to be parsed at run time anyhow.
I'm more talking SQL, I don't have Oracle. Oracle might differ. But I know my SQL.
I know less about Javascript that system apparently doesnt understand when youre asking to load the same code more than once, and optimize it for you?
Not in ASP.NET 3.5 codebase. They might have cleaned it up in 4.0 or 4.5, but I stick with MVC now, and get my Ajax using RAZOR.
Cat Dog,
Strategy Patern,
Huh?
You guys are spies er something, right?
Nah. Just GEEKS. lol
“The only ‘no’ they understand is a hangup.”
You must be getting the smart ones.
In the last couple days I’ve had two call back.
Are you kidding me???
Then tell them you are off the market. That one seems to work.
Maybe I’ve never worked a system that let you pre-compile to the inner language of the database. Oracle is a biggie in the business world, though, and I’ve watched what happens internally when you do a full dynamic SQL versus a “precompiled” statement. Even with the latter, hunks of SQL get passed to the parser AT RUN TIME. Sure, the precompiler understood the SQL — well enough to munge it a little and send it on to the parser at run time.
Nossir. I’ve seen my SQL get compiled and run faster.
But more importantly, Dynamic SQL does not work well in such frameworks and Entity Framework. There cannot be any Reflection. That means you cannot get Type Safety, nor can you leverage EF to generate code and classes for you.
Furthermore, D SQL doesn’t lend itself to the performance tools.
D SQL.
Just say no.
We seem to be talking about two different things in two different database architectures. Oracle kind of fakes it. I’ve watched the traffic between the client processes and the server, and it rips out some pretty plain SQL between the two. Obviously the server is still parsing that stuff.
Okay,
I have worked along side Vietnamese Boat people for over 10 yrs.
Racists and conniving little cowards,
but the females are Hot.
Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.