Peter Hallam's WebLog

C# Compiler

Peterhal - Last day at Microsoft

I've been promising myself an extended vacation for a long time now, but working at Microsoft has...

Author: MSDN Archive Date: 07/20/2007

What Makes a Good Programmer?

I just read two salon articles about Scott Rosenberg's new book Dreaming in Code. His thesis is that...

Author: MSDN Archive Date: 02/04/2007

Code Review: Double Checked Locking Code

A friend of mine recently sent me some code to review: Hi Peter, Do you have any suggestions on how...

Author: MSDN Archive Date: 12/12/2006

New F# Release.

Don Syme and the F# team have just released a new version of F#. Check it out here:...

Author: MSDN Archive Date: 12/04/2006

What Do Programmers Really Do Anyway? The data is in!

The smart folks over in the MSR-Human Interactions in Programming team have done some interesting...

Author: MSDN Archive Date: 11/27/2006

C# Automatically Implemented Properties - My Video Debut

Hey Folks, Charlie Calvert video taped our discussion on some of the new C# 3.0 features. Find it...

Author: MSDN Archive Date: 11/27/2006

What Do Programmers Really Do Anyway? (aka Part 2 of the Yardstick saga)

Way back in 2002 when we started working on Whidbey, I captured my thoughts on the direction we...

Author: MSDN Archive Date: 01/04/2006

C# Stumper: Why does this code not compile?

Hey folks, First off, I want to appologize for not having any activity on my blog for a while. I...

Author: MSDN Archive Date: 11/09/2005

Many C# Questions: Switching on non-constant values.

I finally decided to play with the style settings on my blog. As you may have guessed, I'm a bit of...

Author: MSDN Archive Date: 08/12/2005

Many Questions: Switch On Enum

Just a quick one this week: Why is it that you cannot use enum constants in a switch statement's...

Author: MSDN Archive Date: 08/01/2005

Many Questions: Generics Variance

One of the main benefits of the addition of generics to C# is the ability to easily create strongly...

Author: MSDN Archive Date: 07/29/2005

Many Questions: general catch clause

I’m back from my course on Software Design. Now that we are starting to think about the version of...

Author: MSDN Archive Date: 07/18/2005

Out this week ...

I've been out this week taking a great course on designand architecture. For those interesed in the...

Author: MSDN Archive Date: 07/14/2005

Many Questions: switch on type

I hope everyone had a good fourth of July weekend. I certainly did. I spent the weekend hiking...

Author: MSDN Archive Date: 07/05/2005

Many Questions: Protected Constructors

Well here it is, one week into my many questions series and I'm already late for the second issue. I...

Author: MSDN Archive Date: 06/29/2005

Many Questions: User defined conversions and Interfaces

I get a lot of questions about the rationale behind the design of the C# language. Over the next few...

Author: MSDN Archive Date: 06/20/2005

A Quick note on using statements in C#

Nicholas Paldino(caspershouse.com) noticed a change in the C# using statement between Beta 1 and...

Author: MSDN Archive Date: 06/03/2005

Busy

Hey Folks, I just wanted to let you all know that I'm busy working on getting Whidbey out and into...

Author: MSDN Archive Date: 04/14/2005

Mark the Date! April 21st- Chat with the C# Language Team

The C# team is hosting a chat about the C# language design on April 21st. This is a great...

Author: MSDN Archive Date: 04/05/2005

More Nullable Info ...

Luca Bolognese, our intrepid C# compiler PM, posted some interesting Nullable info...

Author: MSDN Archive Date: 01/20/2005

Nullable types and Interfaces

There has been some...

Author: MSDN Archive Date: 01/19/2005

Command Line Parser Updated - DefaultValues and Shared Source License

I just submitted another update to my command line parser on gotdotnet. It should be available in a...

Author: MSDN Archive Date: 11/23/2004

Command Line Parser Updated

I finally got around to updating my command line parser on gotdotnet. I can't believe its been over...

Author: MSDN Archive Date: 10/23/2004

Optimizing Field Initializers

Brad Abrams posted a blog(http://blogs.msdn.com/brada/archive/2004/10/05/238446.aspx) on field...

Author: MSDN Archive Date: 10/06/2004

The Yardstick

Back, Back, way Back ... 2 years ago when we started thinking about what Whidbey should be, I spent...

Author: MSDN Archive Date: 08/11/2004

Sweep.Net

Now that Beta 1 of C# 2005 has shipped, I've started to talk to folks about all the cool new stuff...

Author: MSDN Archive Date: 07/30/2004

Hello my name is Peter, and I write code ...

I've been considering writing a blog for a while now. Up 'til this point I haven't found a really...

Author: MSDN Archive Date: 04/21/2004