Which language is best?

Lets nail this once and for all!

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »

54 Replies - 31987 Views - Last Post: 26 February 2013 - 11:12 PM

#1 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4358
  • View blog
  • Posts: 12,175
  • Joined: 18-April 07

Which language is best?

Posted 23 December 2008 - 12:22 AM

*
POPULAR

Which language is best? Guess what...There isn't one!

Ok there have been a ton of people (in the Web Development forum especially) asking which language is the best. Like there is some kind of "holy grail" language that will solve the world's problems. I think a few of us are a bit sick and tired of answering this very trivial question which always blows up into a this language against this language debate. So if you were directed to this thread, please read the following carefully and understand what we are saying.

So for all you newbies out there who are wondering, here is the official answer that most programmers SHOULD be telling you....

NO LANGUAGE IS BETTER THAN OTHERS, A LANGUAGE JUST MIGHT BE MORE SUITED FOR A SPECIFIC PROBLEM.

What exactly does this mean? This means that there are several factors that should go into picking a language and not always is it a direct comparison between the languages themselves, but more of a choice on what is best suited for what you can do and for what.

The language you should go with has the following criteria...

1) You should be comfortable with the language. This one is most paramount. Yeah so someone told you Ruby was a great choice for creating a content management system. If you find the syntax too cryptic and are really struggling, what good is it going to be to you and getting the problem solved? If you are brand new, try a few languages first, find one you seem to be picking up quickly and then see if it works with your project.

2) Start simple. If you are a beginner, don't take a project that you know is going to be huge in scope. Whether you pick PHP or ASP or Coldfusion if the project is too large for your skills, no language is going to help you.

3) Know your problem's domain. If you are looking to make a guestbook online, research which languages are for online application making. Which language will work with your hardware. Which language would be the best for making a guestbook app online. Don't try to compare it to other languages directly. No use comparing PHP (a server-side language) to C++ which is more of a desktop language. It is like comparing apple and oranges.

4) Look around the forums. We have answered this question a lot and have given our preferences for a language in a particular situation or for a particular job. So look around and research it out, you will probably have seen something similar and what we recommended for that.

5) Just go with what you know. If you need a project done and done to the best of your ability on a relatively short deadline it is going to be no use to come onto a board here and ask a bunch of people with their biases. What good is it for you to learn Ada or F# just because some guy told you that those languages rock when you already know Java and could do the project in half the time?

6) Lastly, programmers are sometimes the LAST people you want to ask which language is better. Great programmers fall in love with their languages and every time this question comes up you are going to get the Java guy saying "Java is the best" and you are going to get the C# guy saying "C# is better than Java in this case". I am not immune to this either. Do a search online and see what everyone seems to like using for your particular project.

If you see a ton of guestbooks in PHP and none in COBOL, then perhaps PHP might be a better fit. This also has the added benefit of providing resources for you in case you are stuck. You don't want to be half way through your guestbook in COBOL only to realize no one is doing COBOL apps.

So what might be a better question?

Maybe something along the lines of "I know C#, can I do this project with this language?" You may still get a few of the die hards out there saying "C# is crap use smalltalk because it r0x!" but at least you will get more people giving you a "yes/no" answer and maybe even a reason or two why or why not. Maybe even an example code.

So if you are a regular helper who sees a question asking about which language is best, please just redirect them to this thread instead of engaging in a "which language is best debate". We all know that languages have their strengths and weaknesses but it does no one any good to recite them to each newbie that asks.

Thanks a bunch! :)

Is This A Good Question/Topic? 23
  • +

Replies To: Which language is best?

#2 baavgai  Icon User is online

  • Dreaming Coder
  • member icon

Reputation: 5874
  • View blog
  • Posts: 12,753
  • Joined: 16-October 07

Re: Which language is best?

Posted 23 December 2008 - 07:24 AM

*
POPULAR

Excellent, thank you! Couldn't agree more.

I would add a caveat for web development: which language can you use? This not usually a constraint when you're playing about with your own system, but can be if you want your ISP ( or a client's ISP) to host the beast. I once wrote web pages in Tcl, because that's all the provider supported. ASP.NET is an excellent platform, but take a look around at how many ISPs give you the option.

Right now, PHP and Mysql are often supported. Years ago Perl was near standard, now it's harder to find. If you find a provider that will let you do CGI with a Bash script, they're a keeper. ;)

This goes beyond web, of course. Everyone uses .NET, right? Or Java? Well, most businesses rarely use both. It not just the language itself, but the environment you find yourself working in that's a variable.

To reiterate, there is no best! Seriously, no one is keeping any secrets; that's the answer.
Was This Post Helpful? 5
  • +
  • -

#3 b.ihde  Icon User is offline

  • D.I.C for life
  • member icon

Reputation: 43
  • View blog
  • Posts: 1,070
  • Joined: 29-September 08

Re: Which language is best?

Posted 23 December 2008 - 08:05 AM

Really great idea!!!! :^:

All questions should been awnsered now :)

I thank you too for this thread!!

regards

B.Ihde
Was This Post Helpful? 1
  • +
  • -

#4 Nykc  Icon User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 731
  • View blog
  • Posts: 8,644
  • Joined: 14-September 07

Re: Which language is best?

Posted 23 December 2008 - 08:14 AM

So um... Which Language should I use?
Was This Post Helpful? 0
  • +
  • -

#5 b.ihde  Icon User is offline

  • D.I.C for life
  • member icon

Reputation: 43
  • View blog
  • Posts: 1,070
  • Joined: 29-September 08

Re: Which language is best?

Posted 23 December 2008 - 10:26 AM

:crazy: english :P
Was This Post Helpful? 3
  • +
  • -

#6 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3106
  • View blog
  • Posts: 19,145
  • Joined: 14-September 07

Re: Which language is best?

Posted 23 December 2008 - 10:29 AM

View Postb.ihde, on 23 Dec, 2008 - 10:26 AM, said:

:crazy: english :P


I agree :^:
Was This Post Helpful? 0
  • +
  • -

#7 Nykc  Icon User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 731
  • View blog
  • Posts: 8,644
  • Joined: 14-September 07

Re: Which language is best?

Posted 23 December 2008 - 11:05 AM

you know lika my engrish?
Was This Post Helpful? 0
  • +
  • -

#8 b.ihde  Icon User is offline

  • D.I.C for life
  • member icon

Reputation: 43
  • View blog
  • Posts: 1,070
  • Joined: 29-September 08

Re: Which language is best?

Posted 24 December 2008 - 12:47 AM

off korse ;) itz grate!
Was This Post Helpful? 0
  • +
  • -

#9 firebolt  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 92
  • View blog
  • Posts: 5,561
  • Joined: 20-February 09

Re: Which language is best?

Posted 03 April 2009 - 04:31 AM

[lolz. English]

On a serious note, you cant pin a certain language which is the best just what suits the problem.
Was This Post Helpful? 0
  • +
  • -

#10 jammmie999  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 117
  • Joined: 01-April 09

Re: Which language is best?

Posted 26 April 2009 - 12:18 PM

C# and PHP are about equal
Was This Post Helpful? 0
  • +
  • -

#11 noorahmad  Icon User is offline

  • Untitled
  • member icon

Reputation: 209
  • View blog
  • Posts: 2,290
  • Joined: 12-March 09

Re: Which language is best?

Posted 13 May 2009 - 01:21 AM

View Postjammmie999, on 26 Apr, 2009 - 10:48 PM, said:

C# and PHP are about equal


100+
Was This Post Helpful? 0
  • +
  • -

#12 Kellimus  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 20-May 09

Re: Which language is best?

Posted 08 July 2009 - 12:18 PM

View Postjammmie999, on 26 Apr, 2009 - 11:18 AM, said:

C# and PHP are about equal


Why is this? Could you please explain?
Was This Post Helpful? 0
  • +
  • -

#13 xclite  Icon User is offline

  • LIKE A BOSS
  • member icon


Reputation: 911
  • View blog
  • Posts: 3,178
  • Joined: 12-May 09

Re: Which language is best?

Posted 08 July 2009 - 12:21 PM

I definitely came in here to mention the awesomeness that is Ruby, but I see you've taken away my chance to do so =p </sarcasm> I don't even read threads with "Which language is best" instead paying attention to "Which language is best to do @task"
Was This Post Helpful? 1
  • +
  • -

#14 kzfql2  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 2
  • Joined: 17-October 07

Re: Which language is best?

Posted 31 July 2009 - 01:37 PM

View Postxclite, on 8 Jul, 2009 - 11:21 AM, said:

I definitely came in here to mention the awesomeness that is Ruby, but I see you've taken away my chance to do so =p </sarcasm> I don't even read threads with "Which language is best" instead paying attention to "Which language is best to do @task"


The best one is the one they pay you for!
Was This Post Helpful? 1
  • +
  • -

#15 gregwhitworth  Icon User is offline

  • Tired.
  • member icon

Reputation: 220
  • View blog
  • Posts: 1,604
  • Joined: 20-January 09

Re: Which language is best?

Posted 31 July 2009 - 10:33 PM

Quote

The best one is the one they pay you for!


AWESOME! I second that notion, well sorta.
Was This Post Helpful? 0
  • +
  • -

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »