Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,390 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,387 people online right now. Registration is fast and FREE... Join Now!




Which language for any project?

 
Reply to this topicStart new topic

Which language for any project?

sam.adams61
23 Aug, 2008 - 04:42 AM
Post #1

New D.I.C Head
*

Joined: 14 Jul, 2008
Posts: 24


My Contributions
As a beginning programmer I've often wondered about which language to use for any given project. Why choose VB over C# if both compile to MSIL? Or vice versa for that matter. Where does Visual C++ fit in?
As you can tell, I'm sure, I am beginning Software development by learning with Microsoft technologies, and because of personal circumstances, I am self-taught with the use of books etc.
However, the matter of which language for which project has often baffled me. How can I know which one is best for any given project?
In anticipation of good advice, many thanks.
User is offlineProfile CardPM
+Quote Post

abgorn
RE: Which Language For Any Project?
23 Aug, 2008 - 05:12 AM
Post #2

Hello Crap for Brains
Group Icon

Joined: 5 Jun, 2008
Posts: 881



Thanked: 5 times
Dream Kudos: 50
My Contributions
Well, languages have pros and cons, but it usually it's more of a preference. I prefere Java, it's simple, straightforward aswell as other things.
User is offlineProfile CardPM
+Quote Post

baavgai
RE: Which Language For Any Project?
23 Aug, 2008 - 06:32 AM
Post #3

Dreaming Coder
Group Icon

Joined: 16 Oct, 2007
Posts: 2,022



Thanked: 105 times
Dream Kudos: 475
Expert In: C, C++, Java, C#, ASP.NET, PHP, Perl, Python, Oracle, SQL Server, MySql, HTML, JavaScript, Lua

My Contributions
QUOTE(sam.adams61 @ 23 Aug, 2008 - 08:42 AM) *

Why choose VB over C# if both compile to MSIL?


MSIL? You must be drinking the Microsoft Kool Aid, you only hear that one in their promo stuff. wink2.gif

As you've observed, for .NET, it all compiles to pcode no matter what language you start with. C# is the little darling of .NET and what they write most of their libraries in. All things being equal, it makes the must sense to use C# for .NET projects.

VB exists in .NET to lure VB classic programmers into the framework and given them the feeling of having a leg up. This is a false feeling, the two languages are different to the point that I made my VB programmers just rewrite the legacy stuff in C#; it was less annoying.

There are numerous languages that compile to MSIL, even COBOL and Python. They exist for two reasons. One, some people really like the language they're comfortable in. Two, probably more importantly, people want to be able to take work they're already done and make it work in .NET. All .NET language implementations, even C++, have to ultimately break down and talk to the rest of the framework, often making for a very for some unnatural seeming code in the foreign language.

EDIT: Grammar Gremlin

This post has been edited by baavgai: 23 Aug, 2008 - 06:51 AM
User is offlineProfile CardPM
+Quote Post

KYA
RE: Which Language For Any Project?
23 Aug, 2008 - 06:38 AM
Post #4

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 4,836



Thanked: 95 times
Dream Kudos: 1200
My Contributions
Well if we are being super frank about it, all language boils down to machine code. It's just preference. capability, and speed you are concerned with that dictates language choice.
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 10:54AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month