Page view counter

On C# and VB

I've noticed that there is a bit of (understandable) confusion about what we publish in C# and what we publish in VB, and I thought I'd write a brief not to try to sort it out.

I believe Tim and I are in agreement that:

  • Our blog samples will be in whichever language we happen to be most comfortable in, with some variety now and again (and I further suspect that will usually be C#)
  • The videos that we create will (nearly) always provide source code in both C# and VB, but the video itself will be in our language of comfort
  • At the moment, I'm writing all the tutorials, and I'm doing so in both C# and VB.NET --- that each tutorial is published in a C# version and a VB version, in both HTML and in a pdf format, and of course the code is available in both.

TutorialLanguages

The goal is to provide access to all of this information at a very high level of comfort for both VB and C# programmers. 

My personal opinion is that it is important to be able to read programs in either language; they are incredibly similar, and translating from one to the other is, for the most part, mechanical. 

Instant Maven

One wonderful resource, both for saving time and for learning whichever language you are less comfortable in, is InstantC# or InstantVB

 InstantVBCompleted2

It is not uncommon for me to put in an entire solution developed as an example for a tutorial or video and have it converted in seconds, requiring no hand changes whatsoever

(Full disclosure: as noted  previously, I've been receiving free evaluation copies). 

Notice in the illustration above that I've circled the link to "Compare converted to original code. This little feature can be very useful when you want to learn a bit of VB/C# syntax,

InstantVBComparison

though the truth is that the limitations in this window mean that you can only go so far. If I were truly interested in spending time looking at the two versions I'd put the files (or the entire folders) through Exam Diff Pro – my favorite utility for comparing files or directories,

ExamDiff

What is interesting here, though, is not the quality of the comparison utility but rather that such a comparison is possible and straight forward.  You can practically map from the C# to the VB, word by word, line by line.

VBCSharp

You are very much entitled to love one and hate the other, but I would suggest it is the familiarity that breeds the contempt; the true hatred one can only feel for members of one's own Klan.

In any case, next stop: Iron Ruby.

Hope your holiday was splendid.

Published Saturday, November 29, 2008 6:11 PM by jesseliberty

Comments

# re: On C# and VB

At $179 it seems a bit expensive. There are lots of free converters out there.

Saturday, November 29, 2008 8:37 PM by babairo

# re: On C# and VB

Hello Jesse,

Jesse I am a fan a big fan, not because of your little explanations on why or why not you do things one way or the other. I am a fun because I like your HDI videos and your Tutorials because they are the best and real easy for me to understand so please do some of those instead.

Thank you Jesse,

MoHassan

Sunday, November 30, 2008 5:12 AM by MoHassan

# level c | Dell.com

Pingback from  level c | Dell.com

Sunday, November 30, 2008 5:38 AM by level c | Dell.com

# re: On C# and VB

I agree with MoHassan. I am a fan too, but plase focus on giving us great videos and tutorials, instead of using a lot of blog posts on explanations, and writing lists about what topics you want to make tutorials for. It is the quality of the video that counts, and not the language. Keep up the good work:)

Sunday, November 30, 2008 7:45 AM by nyhetsgrupper@gmail.com

# Tutorials gibt es demn??chst in C# und VB.NET at Programming with Silverlight, WPF & .NET

Pingback from  Tutorials gibt es demn??chst in C# und VB.NET at Programming with Silverlight, WPF & .NET

# Dew Drop - Weekend Edition - November 29-30, 2008 | Alvin Ashcraft's Morning Dew

Pingback from  Dew Drop - Weekend Edition - November 29-30, 2008 | Alvin Ashcraft's Morning Dew

# c net | HP.com HP United States

Pingback from  c net | HP.com HP United States

Sunday, November 30, 2008 1:47 PM by c net | HP.com HP United States

# re: On C# and VB

>>...I am a fan too, but plase focus on giving us great videos and tutorials, instead of using a lot of blog posts on explanations<<<

I very much appreciate your kind words and open feedback, but without sounding defensive, I must say that not only can I do both,I must do both; videos, tutorials, blogs, short tutorials, presentations; they are all part of what I do.

I'm dedicated to the idea that the quality of the blog will continue to improve with more ande more of the entries having something of value to offer, and I look forward to your continuing feedback.

Take care and have a great week.

Sunday, November 30, 2008 6:44 PM by jesseliberty

# re: On C# and VB

Jesse I like your blogs too, but I just like your videos and tutorials little more.

Thanks for all the good work you are doing for us "silverlight.net community".

MoHassan

Sunday, November 30, 2008 7:23 PM by MoHassan

# c programming language | Digg hot tags

Pingback from  c programming language | Digg hot tags

Sunday, November 30, 2008 11:25 PM by c programming language | Digg hot tags

# 2008 December 02 - Links for today &laquo; My (almost) Daily Links

Pingback from  2008 December 02 - Links for today &laquo; My (almost) Daily Links