Coding Styles: bools, structs, or enums?

I often find myself writing or consuming API’s which require the caller to specify some sort of options.  I’ve seen numerous ways to specify those options, but I’ve yet to find one that I really like.  Let’s work with an example throughout the rest of this post.  Imagine we’re working on an application which has…

49

Dogfooding Challenges Part Two: Unit Testing.

Another problem related to using VS in order to develop VS happens in the area of unit testing.  The problem here is that my team would like to write tests for the C# language service in C#, unfortunately, this means that our dogfood IDE has the release version of the language service already loaded.  Due…

4

Dodfooding Challenges Part One

There are a couple of issues that come up for developers who work on Visual Studio that just aren’t issues for most people.  The first is that working on components of VS while using VS is hard.  It’s hard for a couple of reasons. You want to have a debug build of the product to…

5

VS Color schemes

A friend sent me a link to Tomas Restrepo’s collection of VS Color Schemes today.  I think it’s a fantastic idea.  I like to use a dark background, but there sure a lot of settings that need to be changed in order for it to be usable.  Especially if you use C++/C#/XML and XAML, which…

7

Just call me Clark Griswold!

Today being Thanksgiving here in the US (it’s a month late, I know, but what can you do, eh?), my family spent the day making a big turkey dinner.  My wife is usually the big cook in our house, but today she’s got a bit of cold, so I ended up doing a bunch of…

1

Enforcing Immutability in Code

A bunch of people (Eric, Wes, Joe, etc) have been writing about the wonders of immutable data structures lately.  A friend who no longer works at MS suggested that I should dig up some code that he wrote with some feedback from me to try and help you enforce immutability in your code. We started…

4

Performance issues Part Two: ???

Okay, anyone whose been holding their breath for the last 1.5 years for part two of this series, I’m going to have to disappoint you.  I have no idea anymore what it was that I was planning on writing about in Part 2 of that series.   However, I wanted to dust off the old…

0