Managed code isnt always the best solution

Managed code is cool. In fact most of the code I write at work is managed code in C#. In one case our product team needed to write some unmanaged code as a Log On credential provider. Throughout Microsoft’s documentation on this, it was strictly mentioned that Managed Code is a bad idea. Well, why? It’s not just for performance.

Debugger Friend or Foe

The debugger is something that most developers get familiarized with pretty quick. I am not really even going to bother explaining it as it’s such a ubiquitous tool. We all use it for one main reason though: something doesn’t work the way we expect.

Dealing with Nullable Types and IIf in VBNET

Here’s a tip that might bite some C# developers getting their feet wet with VB.NET. In fact, I got bit by this one recently, and it didn’t help that it was knee deep in COM. Let’s examine this harmless looking C# statement:

int? someSpoon;
string helloValue = someSpoon.HasValue
? “The spoon is ” + someSpoon.Value
: “There is no spoon”;

Syndicate this site using RSS The latest comments to all posts in RSS Subscribe in Google Reader
Furl It! Add to My MSN Digg It!