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 couple of days. This update adds better support for default values, and cleans up the names a bit. Thanks to Erik Mikkelson for the inspiration. I’ve also added a source license. I haven’t thought too much about…

0

Command Line Parser Updated

I finally got around to updating my command line parser on gotdotnet. I can’t believe its been over a year. This update adds support for customizable help text, formatting of help text to the console window width, and better support for /?. Thanks go out to Jim Foster [JFoster at cskauto.com] for the help text code, and…

8

Optimizing Field Initializers

Brad Abrams posted a blog(http://blogs.msdn.com/brada/archive/2004/10/05/238446.aspx) on field initializers and static constructors yesterday. In the VS2005 Beta the C# compiler added an optimization for instance field initializers which get assigned to their default value. For example:   class C {     public C () {}         private int i = 0;   // the C# compiler…

3

The Yardstick

Back, Back, way Back … 2 years ago when we started thinking about what Whidbey should be, I spent some time thinking about what makes a good feature for C# and Visual Studio, and what our focus should be for the product. I captured my thoughts in 2 emails which I’m going to share here…

2

Sweep.Net

Now that Beta 1 of C# 2005 has shipped, I’ve started to talk to folks about all the cool new stuff we are doing. I gave a talk at the Redmond .NET developer’s association, and another talk at the Meltdown event in Seattle this week. I’ve had a number of requests for the source code…

0

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 good topic to kick off with, that was util today. I just had a conference call with a customer which resulted in a great topic for a blog. I’ll post that article in a day or…

3