|
Aim higher! You could be Man of the Hour!
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Done. You have two wishes left.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
"Surely, it's not going to rain today?"
And she replied, "Yes it is, and don't call me Shirley."
That was when I realized: I'd left my phone in Airplane mode.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Do you think you'll get over it?
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
It's a big building with patients, but that's not important right now.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Looks like I picked the wrong week to stop sniffing glue!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
Things could take a Laverne for the worse!
|
|
|
|
|
Someone's showing their age with that one...
...and someone's showing their age by getting the reference.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
As long as you don't drink milk mixed with Pepsi.
Kelly Herald
Software Developer
|
|
|
|
|
Agree.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Yes - just the thought of it makes my stomach go Squiqqy...
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
I think there are Shotz for that.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
( she said ( welder in the shop )) "You are showing your age with that" - " NO, we're much older than that"
|
|
|
|
|
Shirley that's a Leslie.
|
|
|
|
|
Reports of Leslie's death are entirely premature:
2013[^]
2017[^]
2020[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Why did you call her Shirley? Surely you could have avoided it?
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I'm not a fan of LINQ. I love functional programming but .NET's enumerator paradigm is not up to the task. It creates too many objects too quickly to be a real grown up functional language, whose iteration is highly optimized because it's a first class operation.
I've benched LINQ against hand written pseudo-functional operations that do the same thing. It was not encouraging. For things that make heavy use of functional computation like parser generators, where your LINQ query might be half a page, it's a Bad Idea(TM)
Worse, I think its use has been over encouraged by Microsoft. It makes green developers write even worse code, and makes it harder for a seasoned developer to understand the performance implications of the code they are writing (and I'm not talking about bit twiddling here, I'm talking about figuring out your Big O expression)
I tend to avoid its use, preferring - at least in C# - to make my iteration operations explicit and long hand. If .NET had truly optimized iteration paradigm - one that didn't create new objects for every single iteration operation** - i might consider using it.
** yes i understand that LINQ combines multiple operations into a single iteration *sometimes* - in practice it's not often enough to make up for the overhead of enumerators.
Now, there's a case where all of the above doesn't matter, and that's PLINQ.
Theoretically, for a large enough operation, that can be highly parallelized, the overhead of enumerators suddenly isn't the biggest part of the performance equation. What I mean is it essentially pays for itself. Also, given the issues with synchronization and other cross task communication (is your operation clustered over a network?) enumerators are actually not a bad idea since you can lock behind them or RPC behind them. Contrast that with C++ iterators that are usually lightly wrapped pointer ops and you realize their limitations fast: In order to enable all of the stuff you need to make iteration operations work with each other in parallel you have to wrap every iterator operator anyway, making it as "heavy" as an enumerator in .NET, not counting the general overhead of running managed code.
So basically, PLINQ is where LINQ finally covers its costs - where it reaches the point where its advantages outweigh its disadvantages.
All of this of course, is one developer's opinion.
And some of this doesn't necessarily apply to business software, where performance almost doesn't matter for most scenarios.
Real programmers use butterflies
|
|
|
|
|
|
Coming from you that doesn't surprise me.
You strike me as someone that has an almost ruthless contempt for "frilly" things as they apply to programming.
Real programmers use butterflies
|
|
|
|
|
*lol* you mean a consultant accepts everything ....
modified 27-Mar-21 21:01pm.
|
|
|
|
|
Now what is the big advantage of linq?
It is smart to query things like one queries in SQL.
But more it is smart it allows to query in a kind which is tested. Of course we rely on that test the same we rely on the compiler that it compiles correctly
Nothig more and nothing less
[Edit]
Most probably hard to understand what written above
modified 27-Mar-21 21:01pm.
|
|
|
|
|
That testing aspect is definitely one advantage, but I'd just as soon write the "functional" code long-hand and write the *tests* using LINQ to verify them.
Real programmers use butterflies
|
|
|
|
|
test the test you seems to be same paranoid like me
modified 27-Mar-21 21:01pm.
|
|
|
|
|
They keep adding ketchup and yellow mustard to my language. It'll be mayonnaise next.
|
|
|
|
|
All three together will end in a good taste
modified 27-Mar-21 21:01pm.
|
|
|
|