Click here to Skip to main content
15,894,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi experts,

Greetings!

My question is very simple. Why there are different languages like C#,Visual Basic,F# and so on? Can one language not handle all the works? I have not included ASP .NET as it is used for web based applications. So isn't it logical to have one genius language for windows application and one smart language for web based application?


Thanks in advance
Ankit
Posted

It all started with C# and VB.NET. C# was designed as an evolution of C++ for managed development and VB.NET targeted a myriad or VB coders which wanted a simple language and didn't want to learn anything new. Microsoft had to offer a migration path for them. C# was more flexible and a bit more powerful initially (some things were not possible in VB.NET and were supported by C#).

Then it was "C++ managed extensions" added. It was required to ease adaptation of existing C++ code to .NET.

There was also J#, a path for Java developers to .NET, but it didn't gain much popularity.

Mono, .NET CF and Silverlight initially supported only VB.NET and C# (I don't remember if this has changed now).

Microsoft offered third-party language developers a path to "plug" their languages to .NET Framework, and there exist managed versions of other languages (ef. Eiffel).

F# is a functional language, it's different in principles from common languages and has it's own scope of use.

And the second part of your question (couldn't there be one language for everything) has been discussed during last 30 or 40 years already.
 
Share this answer
 
Each language has its strengths and what it is good at, while you can do anything in any language it might be easier in some than others.

Some people are more comfortable in one language than others, so it is unreasonable to force them into some thing else.
 
Share this answer
 
visual studio gives advantage to develop application with option of many languages.
so, it's good because a developer who have good command on a particular language he/she can develop application with that language

so, it's a feature not a drawback

Happy Coding!
:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900