|
Glad you found it helpful. I am really still amazed at how nice that book is.
Very clear explanations and a lot of fun to read.
|
|
|
|
|
Worth Praising[^]
"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!
|
|
|
|
|
Of course that appeals to you as you are the Q&A leader here on CodeProject, but don't forget about us disciples !
|
|
|
|
|
While I defer to no one in my admiration for @RichardDeeming's skill and knowledge, lines like
invoiceItems = invoiceItems.Where(Function(x) Not excludePrintItems.Contains(x.FITEMNO)).ToList()
just blow my mind.
... where a function takes something and Not(?) excludes something that contains something else ...
|
|
|
|
|
It was @jkirkerx's function originally; I just suggested using a HashTable<T> to avoid having to change the case of the string.
The syntax is slightly clunky. In English, it would be closer to: "Where excludePrintItems does not contain..."
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
My comment was slightly tongue in cheek. It's just another language that I still have not mastered, and probably never will.
|
|
|
|
|
Well, it is VB and thus kinda silly to start with ...
"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!
|
|
|
|
|
Well, on second thought, let's not go to Camelot VB. It is a silly place.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Leave it to VB.NET to make bad code look even worse.
I learned to code on Applesoft BASIC. I will never touch Apple or BASIC again if I can help it.
Real programmers use butterflies
|
|
|
|
|
Can we stop the Basic bashing please, it's a perfectly fine language without those silly {} and ; gobbledigook characters
|
|
|
|
|
ON ERROR RESUME NEXT
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Melchett: Make a note of the word "gobbledygook". I like it. I want to use it more often in conversation.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Not that it counts for much, but I much prefer the arrow syntax => as that way I know it's an anonymous function and am not thinking "where is the Function function defined? "
invoiceItems = invoiceItems.Where(x => Not excludePrintItems.Contains(x.FITEMNO)).ToList()
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
|
What is this VB.NET witchery that you speak of?
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
A colleague of mine is making outstanding pictures of these tiny lights that you see in the sky at night, here is one I wanted to share:
Jellyfish Nebula[^].
Besides the picture itself, about 25hours went into the pre and postprocessing, so this is high dedication. I am completely illiterate as far as astronomy is concerned, but yet I find his pictures beautiful.
Here the caption of the linked one:
Pictures taken over 3 nights with a total of 20:26 hours cumulative exposure.
IC 443, is a supernova remnant located in the constellation Gemini about 5 000 light years away.
The bubble-shaped cloud structure extended with hanging tentacles below and to the left of the center has earned it the nickname of Jellyfish-Nebula.
It is known to host a neutron star, a remnant of the collapsed stellar core. The light from the explosion would have been visible from Earth over 30 000 years ago.
In the field at the top right we can see a portion of an emission nebula cataloged Sharpless 249
|
|
|
|
|
Beautiful! Your friend is a true craftsman!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
|
|
Damage on promises sweet ? (10)
Damage = Harm
on
promises = ious
Sweet = Harmonious
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
modified 17-Feb-21 8:21am.
|
|
|
|
|
Dis you know that ON PROMISES is an anagram of SPOONERISM?
Probably not relevant, but I liked it!
"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!
|
|
|
|
|
I will add that one to my library
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
pkfox wrote: promises = ious
I did not get this one ?
|
|
|
|
|
An iou is a where you give someone who has lent you money a piece of paper which promises to pay them back - you read it as I owe you
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
All Texans - wish you all be safe. With cold storm and power outages, it's difficult. Hope all is sorted soon and you will pass through coldest period happened in last 100 years in Texas.
|
|
|
|