August 2004 - Posts

Repeat After Me: C# Destructors Are NOT Like C++ Destructors

Ian Griffths has an excellent post entitled Repeat After Me: C# Destructors Are NOT Like C++ Destructors. If you have a C++ background and are doing C# developement it's definately worth a read.

<INTERESTING NOTE scope=”atLeastToMe”>
Ian mentions Robert Kozak. I know Robert, I haven't talked to him since he left Toronto several years ago and moved to the west coast. Sometimes it amazes me how “small“ the world has become in the internet age.
</INTERESTING NOTE>

Posted by windsor | with no comments
Filed under:

The Newest Sharpie

I started my first gig today as a Senior Consultant for ObjectSharp Consulting. I’m really looking forward to working with the best and brightest that Toronto has to offer… maybe one day I’ll find the company where they work but for now ObjectSharp will do. All kidding aside, this company has some seriously talented architects and developers, I’m excited that I’ll be able to share experiences and learn with them.
Posted by windsor | with no comments
Filed under:

The Future of VB - From A Man Who Knows

To quote S. Somasegar, the guy who runs the developer division at Microsoft,“... [Microsoft is] 120% committed to the language and the product not just today but for a long, long, long time to come, as we have been in the last decade now”

Read the whole post here.

Posted by windsor | with no comments
Filed under:

Why C# Is(n't) Better Than VB.NET

<NOTE>
This is not a bash at C#. I like C# just as much as VB.NET and do development with both languages. I’m even thinking of getting this tattooed on my forehead.
</NOTE>

I’ve normally listen to .NET Rocks! during the live broadcast on Thursday night but I’ve been quite busy lately and I missed the last few shows. I got the inspiration for this post while I was listening to the show with Jeff Richter last night.

About 5 minutes in to the second half mp3 (I download the split versions of the mp3 so I can burn them to CD and listen in the car (yes, I know that’s really geeky (yes, I know that’ll make it hard for me to ever date again (can I please get on with the story?)))). Anyway, about 5 minutes in to the second mp3 came the time for Google Weirdos but instead of the normal search engine insanity Rory did a tongue-in-cheek “Top 10 Reasons Why C# is Better Than VB.NET”. Included in the list were things like C# has threading, C# has delegates, C# does Interop and so on, basically playing on the still too widely held misconception that C# is the superior .NET language and that it has many capabilities that VB.NET does not.

What followed next was what got my blood boiling. Carl asked Jeff (Richter, the guest) what he thought of the Top 10 list and what were his thoughts on VB.NET. During the two or three minutes of discussion Jeff said two things as if they were fact. First: that C# is inherently faster than VB.NET and second: that in the future VB will diverge from C# and become a RAD tool that sacrifices performance for rapid app development. Both of these statements are false.

The reason this upset me so much is that Jeff is very well-known and respected in the community (he wrote the book that taught me more about .NET than any other book I’ve read, Applied .NET Framework Programming by Microsoft Press), so when he makes statements like he did on the show people will take them to heart.

On the next .NET Rocks! (a really great show on SQL Server with Kimberly Tripp) Carl had Jay Roxe and Paul Vick from the VB team come on and discuss the comments Jeff had made and provide some rebuttal. Jay and Paul come on about 20 minutes into the first mp3, a very worthwhile listen.

To tie this all together I recently taught a 4 day C# programming class here in Toronto. Out of 22 attendees more than half were VB Classic developers moving to C#. When I asked them why they had chosen C# instead of VB.NET they said that management or a consultant told them that C# was the superior .NET language, C# has capabilities that VB.NET does not, C# is inherently faster and so on. Two of the developers in class who had some VB.NET experience realized by the third day that there was very little difference between the tools and I’m sure the others will over time as well.

As I said in my note at the beginning I like both languages, I use both languages and I teach courses that use both languages. What upsets me is that people continue to spread the myth that C# is superior basically because it has the letter C at beginning of the name usually at the cost of the VB Classic developer.

Posted by windsor | 3 comment(s)
Filed under:

Newsgroup or Forum Posting Tips

I’m not as active as some of the other MVPs but I spend a fair amount of time answering questions on newsgroups and forums. If you use these resources, here are some tips that will help get your questions answered faster.

Do some research before you ask.
After posting a question you need to go back to the service to see if answers have been posted, then when you receive an answer you may then have to post a clarification or follow-up, this process takes time and effort. In many cases the question you have (or one similar to it) has been asked and answered before so give yourself a chance at getting the answer right away by doing a little searching before you post your question. By far the best resource for this is Google Groups (http://groups.google.com) which is a 20+ year archive of newsgroup postings.

Give your post a meaningful subject.
Most people answering questions will scan subject lines for potential questions that they can answer quickly. If the subject of the post is “Help” or “What should I do” there’s a very good chance your message will be skipped over without being read. Try to have a subject line that is a short version of your question or at least the name of the technology you’re asking about.

Be concise.
State your question thoroughly but do it in a couple paragraphs or less. The reader should be able to see most or all of your question when they open your message. Adding code is very helpful but limit it to snippets where possible.

Be courteous.
It’s pretty rare but I do see post where the person is giving the community a task (e.g. I need the answer to this problem, go find out how it works and post the code for me) or complaints that a question has not been answered. The vast majority of people answering the questions are volunteering their time for the good of the community so please keep this in mind when asking for some help.

Posted by windsor | with no comments
Filed under: