Overview – Why C# ?
As a technical leader (in MicrosoftTechnology) in Asia?s largest consulting house Tata ConsultancyServices (TCS), I?ve been leading various projects for various clientsover past two years. Publishing an article was always in my mind (I?vewritten couple of articles on designing COM components in Visual Basicand related problems), but never taken it seriously. With variousarticles on .Net flashing in Microsoft site since September 2000, I?vebeen closely following the development related to .Net (Beta1 inJanuary and Beta2 in June?2001).?Currently Microsoft is offering fourlanguages out of the box:
C#, VB.Net, Managed C++ and Jscript for application development on .Netplatform and many more to come from various independent vendors.? Sothe obvious question is which language is best suited for .Net?(Believe me each time we meet for Technical Discussion, this has been afavorite topic). Here is a brief discussion on the above topic.
JScript
Nobody in the current market is talking aboutJscript (found in the quickstart only) and I strongly feel JScript toend up with a very small user base.? It?s not advisable to go withJscript, despite it being cool.??
Managed C++
C++, even in its new managed form, definitelylags behind other languages such as VB.NET and C# for their cleanersyntax and ease of use. So I don?t expect any adition to the C++Developer community.?There's no doubt, though, that experienced C++practitioners will continue to admire and use its power, templates,multiple code inheritance and deterministic finalisation.
C#
C# is the new language with the power of C++and the slickness of Visual Basic.?It cleans up many of the syntacticpeculiarities of C++ without diluting much of its flavour (therebyenabling C++ developers to transition to it with little difficulty).?And its superiority over VB6 in facilitating powerful OOimplementations is without question.C# with clean OO syntax and large class library (in conjunction with.NET and the base class libraries) could be the ?most productivemainstream language? and it is an ECMA-standard language that offersthe potential of being available across many platforms.?For the serious developer wanting Microsoft's most productive andmainstream .NET language, C# is the clear choice.
VB.Net
VB Developers over the years have been askingfor more power(inheritance and polymorphisim). Now VB.Net provides allthat and It's now a fully-fledged OO language. To the question'Wheather I should use VB.Net or C#' – The answer has been 'Use the onewith which you are comfortable with'. But I dont think many people areconvinced with this answer.
It's said that VB.Net is there only to please those milions of VB6Developers and nothing else. But as I said before, VB.NET is an OOlanguage and? VB6 is not.?So the problem is that if you're not thinkingOO, you're probably not going to enjoy the VB.NET(from VB6)transitioning experience coz this is more than just a syntax shift.There is one more problem, Some expert claims that you have to write33% more Lines of Code in VB.Net than C# (Nothing Official). There'sstill a long time before we see the final .NET product. GivenMicrosoft's traditional love for the language, that they won't let itwaste away (So Microsoft may do something)
Summary
If you're looking for the safest bet, hitch aride with C#.? Sure VB.NET is now just as powerful and C++ remains evenmore so, but for the reasons we've described of productivity












No comments yet... Be the first to leave a reply!