VB.NET or C#? Which one I should go for?
General confusion most of ASP & VB Developers has...
Confusion!!
Here i have a choice to make C# or VB.NET .. i started with VB.NET and now .. i get people saying me i code in c# , iam in Asp.net and what could be the choice, i am from VB and ASP background i am with ease doing VB and now going for a strongly typed lang as c# is little burden, when Microsoft says that there is no difference using any of the languages then why are companies making their choices like C# or VB.NET .... the whole thing about .NET Framework is Multiple Language Single Platform.
Clarification!!
And.... what were those reasons, that tempt you to migrate to C# ?! :-)
Believe me ASP.NET + VB.NET is definitely a good choice for classic ASP + VB developers. Absolutely no issues, no frills attached :-)
and… yes, you may consider C# is [little] burden, this is also obvious. Do not deviate, Just go ahead.
Ok… now to the interesting part of the argument,
>> when Microsoft says that there is no difference using any of the languages then why are companies making thier choices like C# or VB.NET
>> the whole thing about .NET Framework is Multiple Language Single Platform
A correction: These are just delusions. Microsoft never stated that, there are no differences between languages and also have never stated that the IL Generated by a C#, VB, perl, python, cobol compiler would be one and the same… a subtle difference would definitely exist… If you have any pointers, do post back. The only standardizing factor here is the CLS. Microsoft just claims that .NET is language independent, to translate this into simple words, if your language is CLS compliant[standardized by ECMA], and the compiler is capable of producing .NET IL, your language would fit in the .NET World.
Yes, both C# and VB.NET share some close relations within the language semantics, but going forward, i.e. as Whidbey and further versions of .NET get released, these relations would slowly vanish, as each of the languages would try to gain its own superiority.
You would see the above statement is true, immedietly after the release of Whidbey. VB.NET is now packed with it’s own easy to code stuff e.g.: MY Namespace in VB.NET and C# is now packed with it’s own language supremacy like generics.
Anyway, don’t worry, Visual Basic is the pet language of Microsoft, and there are zillions of VB developers across the world, MS cannot leave these guys out :-)
Unless you develop some low level, system level stuff that might need to have close contacts with your Win32 World, there are not too many real time reasons that would push you c#. Just try to leverage on your existing skills and take advantage of the .NET World, that’s the smart move.
BTW a corporate would choose a language/platform based on many constraints like skill sets, training, new resources, budget, client, timelines, leveraging old skills and on and on and on…. That’s a tough job :-)
This kind of confusion is there with many of the ASP & VB Developers to choose for C#. Even though C# and VB.NET is more or like a similar with only difference of ; !!