Francois Beaussier & Aymeric Gaurat Apelli

Thursday

The end of c# vs Vb.Net war ?

The .NET world is kind of divided into 2 groups: vb.net or c# users. There is always someone to argue that their favorite language is better.

It sounds like the old and famous curly bracket question. One would prefer having it at the end of the line (like in Java), others would like having it on a new line.

The truth is that this is all about you getting used to a particular way of reading code. Both are right ! you prefer reading vb code ? so be it !

My point here is that Visual Studio should display the code the way you want to read it.

For exemple, I write some c# code, I check it into source safe. My teammate (a vb guru) gets the latest version of the file, and then visualize it as vb.net code. How does that sound ? :)

Technically, both languages compile to the same IL (Intermediate Language) and software like

Reflector can decompile the assembly and display the code. Visual Studio should be able to format the code the way you like it best.

By the way, why do we still use plain text to store source code when we could have some kind of standardized xml ? I can already imagine nice 3rd party tools playing with all this data :)