KodefuGuru


Comments:

PDC 2009 Registration Open

posted by KodefuGuruKodefuGuru(2818) 2 years, 9 months ago 0

Actually, it's 500 bucks. I'm not sure how to edit my summary on here so I guess the misinformation stays.

Reply

Strive for Functional Cohesion

posted by KodefuGuruKodefuGuru(2818) 2 years, 7 months ago 0

Those aren't sockpuppets. I personally know daytontp (vp of cedg) and BrainThump (leader of Charleston .NET UG), and a quick search will pull them up since they're involved in the community. I don't know libertysoftware.

Reply

Strive for Functional Cohesion

posted by KodefuGuruKodefuGuru(2818) 2 years, 7 months ago 0

Cool, thanks. You should come out to CEDG (columbiadevelopers.org) some time =).

Reply

Summation Functions

posted by KodefuGuruKodefuGuru(2818) 1 year, 9 months ago 0

It's not immediately obvious why this belongs in the LINQ category. Here's a hint: look at the last code sample in the article.

Reply

Free ebook: Programming Windows Phone 7

posted by KodefuGuruKodefuGuru(2818) 1 year, 9 months ago 0

I didn't see someone post the same ebook. Of course, this story is the source of all the others ;).

Reply

C# Needs Seqs

posted by KodefuGuruKodefuGuru(2818) 3 months, 18 days ago 0

I propose seq as an alias keyword, like string is an alias for System.String.

I'm going to write an article on sequences versus sets, because I was thrown when someone else brought it up. In a sequence, order matters. This means a sequence is unique if an element differs from the comparison sequence at any position. In a set, order doesn't matter. A lottery ticket is a set. The konami code is a sequence.

Here's another way to look at it
a = 1, 2, 3
b = 3, 2, 1

If a and b are sets, they are identical. If a and b are sequences, they are different. So, the difference between a set and a sequence is that order matters for the latter. But there's more! Sets must contain unique values. {1, 1, 2, 3} is the same as {1, 2, 3}, because 1 is merely repeated in the former's definition.

I think it's pretty clear that we're referring to a sequence with IEnumerable<T>. Using that term would maintain consistency with other languages as well.

Reply

Post-increment Operator and Precedence

posted by KodefuGuruKodefuGuru(2818) 9 days, 5 hours ago 0

Thanks for the suggestion, I'll do that! I have another brain teaser for my upcoming post that follows up on this article for more operator fun. It's currently sitting in my review list and will be published early next week. You can make suggestions on what you would like me to write about on my Trello board (of course, DNK comments is fine as well!): https://trello.com/b/f8iNdSvZ

Reply