Different Languages in .Net

Last post 09-24-2009 2:32 AM by mapelixir. 5 replies.

Sort Posts:

  • Different Languages in .Net

    11-30-2008, 5:59 AM
    • Member
      4 point Member
    • mapelixir
    • Member since 09-23-2008, 8:16 AM
    • Posts 35

    I have a basic question in .Net

    Why there is a need for .Net Framework supporting different languages? Is it not better to train everyone in a single language?

    Thanks.

  • Re: Different Languages in .Net

    11-30-2008, 9:09 AM
    • Star
      7,932 point Star
    • amit.jain
    • Member since 10-06-2008, 5:09 AM
    • Delhi India
    • Posts 1,264

     Supose a VB or C++ or JAVA programmer wants to switch to .NET , than won't he prefer choosing the language he is proficient in

    Don't say thanks rather mark my reply as "Answer" if it helps you ,Doing so u'll get points too
    amiT jaiN

    ASP.NET C#.NET Articles
  • Re: Different Languages in .Net

    12-04-2008, 10:47 AM
    Answer
    • All-Star
      62,647 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 1:34 PM
    • England
    • Posts 12,222
    • TrustedFriends-MVPs

     >Why there is a need for .Net Framework supporting different languages? Is it not better to train everyone in a single language?

    Aside of the two very general purpose languages VB.NET and C#, there is a variety of special purpose languages to do jobs that neither VB.NET or C# can do efficiently:

    • Fortran
    • Eiffel
    • RPG (and that is RPG as in Report Program Generator)
    • Cobol 
    • Python

    Considering that there are are 20+ .net languages now, there are several reasons:

    • Existing developer base
    • Existing code base
    • Interoperability - suppose you have a routine in one language in a class library, Dot Net allows ready linkage to it from Dot Net applications written in other languages.
    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: Different Languages in .Net

    12-10-2008, 3:14 PM
    • Star
      14,198 point Star
    • JeffreyABecker
    • Member since 10-04-2004, 4:27 AM
    • Philadelphia, PA
    • Posts 2,905

     Honestly no it's not best to move everyone to a single language.  Different languages provide different fundamental approches to programming.  I should not be constrained to a language like C# when a functional language like LISP is the best tool for the job.  Also when you have an application providing scriptability, it's VERY convenient to be able to expose your objects directly to the script without having to write adapters.

  • Re: Different Languages in .Net

    04-07-2009, 2:28 AM
    • Member
      739 point Member
    • Rimbik
    • Member since 02-25-2009, 6:09 AM
    • Mumbai, India
    • Posts 252

     A basic answer.
    For the time being forget about .NET Platform. Lets say a question:

    Questioin: Why there are multiple languages avaiulabel?

    Ans: Consider the 2 languages C(.c) and Assembly(.asm)

    In assembly to exit from the code u write

    MOV AX,09H;
    INT 21H;

    in C you write
    exit(0);

    This is very simple example. for more complex liek sorting a string in assemebly will be more complex compared to c and the latest
    languages available. in many languages you will have .Sort() method for the purpose but you have to do that personally in
    Assembly. So wrtting code in C will be much easy, faster and bug free than in Assembly.

    Consider the COBOL Langauge, This is very good for Database operations, like its has inbuilt mechanism for Keeping sorted record,
    Travesing in database rows and finding a specific value etc, Whereas if you want to do the same in C/C++ language you have to
    implemt Linklist, File.h etc, that is some sort of Data Structures in C/C++. So using COBOL in this case is suitable.

    Consider graphics operation: Think its is so easy with Foxpro/VB/VB.NET/Developer 2K/C#/Java etc, so if GUI is important then
    u will not mostly use C or Assembly.

    This above is the one example how languages have been evolved since times bases on the user need. And there are 500 languages
    available in the market now starting from Langauge A, C to unklnown to me.


    So your answer, if you want to have Excellent GUI features, Powerful code, Rapid Application desgin, Machine independant code,
    with lot many other features and if you chose C or Assembly you will simply make your night horrible (may be enjoyable).

    Regards,
    Soumen, India




    Budhi Hin Tanu Janike, Sumirau Pavan Kumar
    Bal budhi Vidya dehu mohe,Harahu Kalesa Vikar
  • Re: Different Languages in .Net

    09-24-2009, 2:32 AM
    • Member
      4 point Member
    • mapelixir
    • Member since 09-23-2008, 8:16 AM
    • Posts 35

     Thanks

Page 1 of 1 (6 items)