Click here to Skip to main content
13,594,279 members
Click here to Skip to main content
Add your own
alternative version


21 bookmarked
Posted 9 Jul 2003

The .NET Language Paradigm

, 16 Jul 2003
Rate this:
Please Sign up or sign in to vote.
.NET developers are faced with the daunting and sometimes overwhelming task of choosing the right language for the .NET Framework. This article humbly attempts to put light on the .NET language paradigm.

Microsoft .NET


Sometimes programming languages are like religions. Developers are so zealous about their language of choice that they turn a blind eye to other languages.

With .NET all language choices are now just cosmetic and that’s the most important point to understand. After all the CLR (Common Language Runtime/Managed Runtime) works on IL (Intermediate Language – Refrain from using MSIL as IL is standardized now) and all .NET enabled languages compile to IL. So no matter what .NET supported language you choose there is no difference in the capability in terms of functionality and (in the right hands) even performance.

Options Galore

To target the .NET platform and avail functionalities of the managed runtime we developers have quite a few options - in fact (at the time of writing) twenty two all together Microsoft Visual Studio.NET supports the popular four: C#, VB.NET, C++ & J# with other vendors coming up with their own implementations.

The language choices we as the developers make rely upon two factors more or less.

1. The developer's programming background.

For any developer his or her programming background is the most important factor in choosing a new language. Developers tend to progress to similar languages - or at least look-a-like languages - so as to benefit from their past investment and make their learning curves minimal.

So if you are coming from a C, C++ or Java background the modern OOP language C# will be the most obvious evolution, and for developers with a Visual Basic background or without any programming experience, VB.NET with all the new features will be an attractive option.

2. The market for a specific language.

It may sound a little off-track to many folks but the market for a particular language also plays a role in the daunting task of choosing a language for some developers.

Just to give you an example. I hail from <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:country-region><st1:place>Pakistan; the majority of clients here preferred VB and most of their projects developed in VB. After .NET the trend has switched towards VB.NET. It comes without any surprise that VB.NET is popular among employers and developers alike in the market here. So to secure a job a developer might consider sacrificing his individual preference for the general trend in the local software development industry.

Interesting Myths and Concepts

Additionally let me explain the difference between the in style (popular) .NET languages and demystify some popular myths about them.

As mentioned earlier the only difference that remains among languages like C# and VB.NET are syntactical ones; they solely depend on the syntax and structs of the language. Remember each language has its own set of cosmetic pros and cons attached to it. C# may have better support for delegates while VB.NET has better support for event handling and the list just grows on, but I should rather cut short here as this is better meant for a later post or article.

Now hitting on some touchy issues, many developers believe that VB.NET is slower then C#. That’s not entirely true. The only place I see VB.NET slower than C# is where developers use old-style functions like Len and Mid instead of calling reciprocal methods available within the .NET Framework library classes and as mentioned by Heath Stewart (see post below) using old syntax like FunctionName = ReturnValue. On a positive note its interesting to note that the VB.NET runtime it self is coded in VB.NET.

Another myth is that C++ is superior then C#. It may well be but in relation to .NET the truth is exactly the opposite. For the managed runtime C#, is better off then C++ as it’s much neater and - remember folks it’s the only language built for the .NET platform, and the majority of the .NET Framework classes have been coded in C#. Almost all other languages have simply been enhanced to be ported to the .NET platform. I in no way intend to undermine C++. I think it’s one of the most powerful and flexible language. Just to share its importance the CLR is coded in C++.

Don’t Overlook Language Interaction

The CLR offers complete and easy language interaction which basically means you can code up a same solution using two different programming languages.

I think this ability to switch programming languages easily with rich interaction between languages is an awesome feature of the CLR. Unfortunately I also believe that developers will often look overlook this feature and will concentrate on their choice of programming language. On the whole programming language such as C# and Visual Basic are excellent languages for doing I/O operations. APL is a great language for doing advanced engineering or financial calculations. Through the CLR, developers can write the I/O portions of your application using C# and then write the engineering calculations part in APL. The CLR offers a level of integration between these languages that is unprecedented and really makes mixed-languages programming worthy of consideration for many development projects.

New Languages will Come and Go

All developers will agree on one thing for sure. Programming languages have a fixed shelf life. They come; they conquer and with time expire to be replaced by a (much) modern language. In my own little time I as the developer I have learned eight languages and most of them are obsolete now.

.NET may very well not change all that but its valuable in the sense that its language independent and soon will be platform independent too. I think developers will have less to learn in the future and will only have to adjust to new languages that will certainly keep on coming and hopefully keep on running on the .NET platform. No one can be sure about the future but it definitely is a bright possibility.

C#, a Matter of Choice

Finally after all this general talk, here are a few lines of applause for C#. Some of you may find it a little biased but please bear with my views.

In retrospect, C# is my language of choice for the .NET platform, What makes C# appealing to (a hardened C++ and VB programmer) like me is the negligible learning curve, modern OO concepts and built-in features for better coding. I can't stress this enough, C# is a master piece evolved from today’s most popular languages and has all the best features borrowed (as you might say) from VB, C++ and Java.

Another interesting point to note for which we have Heath Stewart (see post below) to thank is that C# is better for newbie’s because it opens the doors for more languages (C/C++, PERL, Java, and many more) and it's easier to read.


I hope this article sums up some of the raging ‘language wars’ witnessed among .NET developer community by large on various forums and email lists.

The moral of this little comparison is that no one language is perfect and each is meant to cope with different scenarios and developer tastes. What the .NET platform has done for us is that is has given us the right to choose.

Related Links

Here are a few links worth checking out:

• .NET Language Listing:
• The Difference between VB.NET and C#:
• Hitchhiker's guide to alternate .NET languages:


    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here


    About the Author

    Rai Umair
    Web Developer
    Australia Australia
    Rai lives in the coastal metropolitan city of Karachi. He is pursuing a CS degree from SZABIST and right now has his hands dirty with .NET. By the way he still remembers his good old days with ColdFusion.

    His research interests include Information Retrieval and Software Architecture.

    He really likes to interact with peers and fellow develpers. Go ahead! Drop him a line. He will be glad to respond.

    You may also be interested in...

    Comments and Discussions

    GeneralDon't Cut and Paste from Books.Write articles on your own Pin
    rp_chicago28-Jun-07 10:44
    memberrp_chicago28-Jun-07 10:44 
    QuestionDb2 connection?? Pin
    trk_wakil19-Apr-05 5:09
    membertrk_wakil19-Apr-05 5:09 
    GeneralThis article is a -1 Troll Pin
    Foo _ Bar1-Aug-03 11:49
    sussFoo _ Bar1-Aug-03 11:49 
    GeneralWell Said! Pin
    Rai Umair24-Jul-03 4:42
    memberRai Umair24-Jul-03 4:42 
    General.NET Language Survey Results Pin
    Rai Umair24-Jul-03 3:32
    memberRai Umair24-Jul-03 3:32 
    QuestionOnly Cosmetic? Pin
    AlexH24-Jul-03 2:12
    memberAlexH24-Jul-03 2:12 
    AnswerRe: Only Cosmetic? Pin
    Rai Umair24-Jul-03 3:58
    memberRai Umair24-Jul-03 3:58 
    GeneralC 'Sharper' Pin
    Anonymous21-Jul-03 7:40
    sussAnonymous21-Jul-03 7:40 
    GeneralRe: C 'Sharper' Pin
    Locked Ghost21-Jul-03 19:35
    memberLocked Ghost21-Jul-03 19:35 
    GeneralRe: C 'Sharper' Pin
    Anonymous22-Jul-03 2:41
    sussAnonymous22-Jul-03 2:41 
    GeneralRe: C 'Sharper' Pin
    Anonymous31-Jul-03 8:22
    sussAnonymous31-Jul-03 8:22 
    GeneralSee &quot;Optional Parameter Myth&quot; in next thread Pin
    aberglas22-Jul-03 7:35
    memberaberglas22-Jul-03 7:35 
    QuestionIs NET NEAT? What's the catch? Pin
    ted van gaalen17-Jul-03 12:00
    sussted van gaalen17-Jul-03 12:00 
    AnswerRe: Is NET NEAT? What's the catch? Pin
    jdunlap17-Jul-03 20:22
    memberjdunlap17-Jul-03 20:22 
    GeneralRe: Is NET NEAT? What's the catch? Pin
    tedvg19-Jul-03 5:10
    membertedvg19-Jul-03 5:10 
    GeneralMono is doomed Pin
    aberglas21-Jul-03 8:00
    memberaberglas21-Jul-03 8:00 
    GeneralRe: Mono is doomed Pin
    igor19601-Aug-03 12:57
    memberigor19601-Aug-03 12:57 
    GeneralRe: Mono could still be useful Pin
    aberglas1-Aug-03 13:05
    memberaberglas1-Aug-03 13:05 
    GeneralRe: Mono could still be useful Pin
    igor19601-Aug-03 13:40
    memberigor19601-Aug-03 13:40 
    GeneralRe: Mono is doomed Pin
    Anonymous25-Jul-05 19:05
    sussAnonymous25-Jul-05 19:05 
    GeneralMy mistake was to use C# Pin
    aberglas17-Jul-03 8:38
    memberaberglas17-Jul-03 8:38 
    GeneralRe: My mistake was to use C# Pin
    Nemanja Trifunovic17-Jul-03 9:08
    memberNemanja Trifunovic17-Jul-03 9:08 
    GeneralRe: Lisp --&gt; Java --&gt; C# Pin
    aberglas18-Jul-03 7:38
    memberaberglas18-Jul-03 7:38 
    GeneralRe: My mistake was to use C# Pin
    Rai Umair18-Jul-03 16:42
    memberRai Umair18-Jul-03 16:42 
    GeneralRe: Mixing C# and VB Pin
    aberglas21-Jul-03 7:48
    memberaberglas21-Jul-03 7:48 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
    Web03-2016 | 2.8.180618.1 | Last Updated 17 Jul 2003
    Article Copyright 2003 by Rai Umair
    Everything else Copyright © CodeProject, 1999-2018
    Layout: fixed | fluid