Why C# indeed

Early and Adopter
seem to have just noticed my blog;

Duncan Mackenzie’s
blogging, and no one told me!

(And why on earth does  href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncodefun/html/code4fun01242003.asp"
have C# code on his blog???)

[ href="http://radio.weblogs.com/0117167/"> >Sean ‘Early’ Campbell & Scott ‘Adopter’ Swigart’s Radio

and they raised a
good question, why would I (I’m MSDN’s “Content Strategist” for VB, and an
affirmed VB Lover) have C# code on my blog?

It isn’t by choice,
that is for sure! It is his fault: Matt [Mr. Web Services] Powell hspace=0 src="http://msdn.microsoft.com/columns/graphics/service.gif"
align=baseline border=0>

I’m doing a little bit of work on some
internal utilities at MSDN and while some of them are in VB.NET, this particular
one was written by that crazy href="http://msdn.microsoft.com/columns/service.asp">Matt Powell fellow and
it is all in C#. I’ve actually managed to break a few things out into their own
assemblies and do them in VB.NET, but for the most part the UI is all in C#…
what is a guy to do? I’ll try to avoid starting a religous debate here, but I
have to at least say that the C# editor sucks compared to the VB.NET one… XML
commenting aside! I’ve heard it is much closer in features to VB.NET in VS.NET
2003, but I haven’t done anything but VB.NET in that version of VS.NET, so I
don’t really know…

Sadly, after only a few days of
working on this system, I started adding semicolons to my VB.NET code… Is that
like calling your wife by the wrong name?

Comments (2)

  1. Anonymous says:

    Seeing the Light (or not) : David Stone’s Blog

  2. Matt Powell says:

    C#? VB? I was contemplating how nice it would be to have multiple language support in a single VStudio project. Then I thought, where do you draw the line? Should we have vb files and c# files? How about multiple languages in a single file? How about multiple languages on a single line? Hmmm…

    Multiple language projects would work well if one person did all the work in one file and someone else did all the work in other files, but if this particular project was any indication, Duncan and I were all over each other’s code. If you think it’s hard to remember when to semi-colon and when not to now, imagine if you had to figure out if you were in a VB file or a C# file.