Jon Skeet's blog articles

0
comment
on 6/2/2014 5:52 PM
(Note that I’m not talking about "processing collections in parallel, which is definitely not an anti-pattern…) I figured it was worth starting to blog about anti-patterns I see frequently on Stack Overflow. I realize that some or all of these patterns may be collected elsewhere, but it never hurts to express such things yourself… it’s […]
>> Read the full article
.
0
comment
on 5/16/2014 9:58 AM
I've always found Portable Class Library (PCL) configuration to be a bit of a mystery. In simple cases, it's simple: start a new PCL project in Visual Studio, select the environments you want to support, and away you go. But what's going on under the hood, and what do all the options mean? How do I do this without Visual Studio? Background: supporting Universal Windows Applications in Noda Time Recently, I had a feature request for Noda Time to support Windows Phone 8.1 and Universal Windows Applications[...]
>> Read the full article
.
0
comment
on 5/16/2014 4:58 AM
I’ve always found Portable Class Library (PCL) configuration to be a bit of a mystery. In simple cases, it’s simple: start a new PCL project in Visual Studio, select the environments you want to support, and away you go. But what’s going on under the hood, and what do all the options mean? How do […]
>> Read the full article
.
0
comment
on 4/8/2014 8:49 AM
This post is the answer to yesterday's brainteaser. As a reminder, I was asking what purpose this code might have: public static class Extensions  {      public static void Add<T>(this ICollection<T> source, T item)      {          source.Add(item);      }  } There are plenty of answers, varying from completely incorrect (sorry!) to pretty much spot on. As many people noticed, ICollection<T> already has an Add method taking an item of type T. So what difference could this make? Well, consider LinkedLis[...]
>> Read the full article
.
0
comment
on 4/8/2014 3:49 AM
This post is the answer to yesterday’s brainteaser. As a reminder, I was asking what purpose this code might have: public static class Extensions  {      public static void Add<T>(this ICollection<T> source, T item)      {          source.Add(item);      }  } There are plenty of answers, varying from completely incorrect (sorry!) to pretty much spot on. As many people […]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper

Logging in...