School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,363 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,452 people online right now. Registration is fast and FREE... Join Now!




Which language is best?

 

Which language is best?, Lets nail this once and for all!

Martyr2

22 Dec, 2008 - 11:22 PM
Post #1

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 7,243



Thanked: 820 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
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! smile.gif




User is offlineProfile CardPM
+Quote Post


baavgai

RE: Which Language Is Best?

23 Dec, 2008 - 06:24 AM
Post #2

Dreaming Coder
Group Icon

Joined: 16 Oct, 2007
Posts: 4,261



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

My Contributions
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. wink2.gif

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.

User is offlineProfile CardPM
+Quote Post

b.ihde

RE: Which Language Is Best?

23 Dec, 2008 - 07:05 AM
Post #3

D.I.C for life
Group Icon

Joined: 29 Sep, 2008
Posts: 973



Thanked: 30 times
Dream Kudos: 75
My Contributions
Really great idea!!!! icon_up.gif

All questions should been awnsered now smile.gif

I thank you too for this thread!!

regards

B.Ihde
User is offlineProfile CardPM
+Quote Post

Nykc

RE: Which Language Is Best?

23 Dec, 2008 - 07:14 AM
Post #4

This script is cheap!
Group Icon

Joined: 14 Sep, 2007
Posts: 6,475



Thanked: 43 times
Dream Kudos: 325
My Contributions
So um... Which Language should I use?
User is offlineProfile CardPM
+Quote Post

b.ihde

RE: Which Language Is Best?

23 Dec, 2008 - 09:26 AM
Post #5

D.I.C for life
Group Icon

Joined: 29 Sep, 2008
Posts: 973



Thanked: 30 times
Dream Kudos: 75
My Contributions
crazy.gif english tongue.gif
User is offlineProfile CardPM
+Quote Post

KYA

RE: Which Language Is Best?

23 Dec, 2008 - 09:29 AM
Post #6

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 11,192



Thanked: 489 times
Dream Kudos: 2825
Expert In: C, C++, Java

My Contributions
QUOTE(b.ihde @ 23 Dec, 2008 - 10:26 AM) *

crazy.gif english tongue.gif


I agree icon_up.gif
User is online!Profile CardPM
+Quote Post

Nykc

RE: Which Language Is Best?

23 Dec, 2008 - 10:05 AM
Post #7

This script is cheap!
Group Icon

Joined: 14 Sep, 2007
Posts: 6,475



Thanked: 43 times
Dream Kudos: 325
My Contributions
you know lika my engrish?
User is offlineProfile CardPM
+Quote Post

b.ihde

RE: Which Language Is Best?

23 Dec, 2008 - 11:47 PM
Post #8

D.I.C for life
Group Icon

Joined: 29 Sep, 2008
Posts: 973



Thanked: 30 times
Dream Kudos: 75
My Contributions
off korse wink2.gif itz grate!

User is offlineProfile CardPM
+Quote Post

firebolt

RE: Which Language Is Best?

3 Apr, 2009 - 03:31 AM
Post #9

D.I.C Lover
Group Icon

Joined: 20 Feb, 2009
Posts: 5,463



Thanked: 75 times
Dream Kudos: 1675
My Contributions
[lolz. English]

On a serious note, you cant pin a certain language which is the best just what suits the problem.
User is online!Profile CardPM
+Quote Post

jammmie999

RE: Which Language Is Best?

26 Apr, 2009 - 11:18 AM
Post #10

New D.I.C Head
*

Joined: 1 Apr, 2009
Posts: 39


My Contributions
C# and PHP are about equal
User is offlineProfile CardPM
+Quote Post

noorahmad

RE: Which Language Is Best?

13 May, 2009 - 12:21 AM
Post #11

Webmaster
Group Icon

Joined: 12 Mar, 2009
Posts: 2,018



Thanked: 125 times
Dream Kudos: 1350
My Contributions
QUOTE(jammmie999 @ 26 Apr, 2009 - 10:48 PM) *

C# and PHP are about equal


100+
User is online!Profile CardPM
+Quote Post

Kellimus

RE: Which Language Is Best?

8 Jul, 2009 - 11:18 AM
Post #12

New D.I.C Head
*

Joined: 20 May, 2009
Posts: 2


My Contributions
QUOTE(jammmie999 @ 26 Apr, 2009 - 11:18 AM) *

C# and PHP are about equal


Why is this? Could you please explain?
User is offlineProfile CardPM
+Quote Post

xclite

RE: Which Language Is Best?

8 Jul, 2009 - 11:21 AM
Post #13

LIKE A BOSS
****

Joined: 12 May, 2009
Posts: 629



Thanked: 13 times
My Contributions
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"
User is offlineProfile CardPM
+Quote Post

kzfql2

RE: Which Language Is Best?

31 Jul, 2009 - 12:37 PM
Post #14

New D.I.C Head
*

Joined: 17 Oct, 2007
Posts: 2


My Contributions
QUOTE(xclite @ 8 Jul, 2009 - 11:21 AM) *

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!
User is offlineProfile CardPM
+Quote Post

gregwhitworth

RE: Which Language Is Best?

31 Jul, 2009 - 09:33 PM
Post #15

(this).problem + "sucks";
Group Icon

Joined: 20 Jan, 2009
Posts: 1,131



Thanked: 82 times
Dream Kudos: 50
Expert In: HTML, CSS, Web Design

My Contributions
QUOTE
The best one is the one they pay you for!


AWESOME! I second that notion, well sorta.
User is offlineProfile CardPM
+Quote Post

ultimateweb

RE: Which Language Is Best?

8 Aug, 2009 - 07:38 AM
Post #16

New D.I.C Head
*

Joined: 24 May, 2009
Posts: 37



Thanked: 2 times
My Contributions
PHP because its simple and easy
User is offlineProfile CardPM
+Quote Post

phoeniX_

RE: Which Language Is Best?

8 Aug, 2009 - 12:53 PM
Post #17

New D.I.C Head
*

Joined: 4 Aug, 2009
Posts: 25


My Contributions
Nice read, thanks!
User is offlineProfile CardPM
+Quote Post

kewlkreator

RE: Which Language Is Best?

8 Aug, 2009 - 01:19 PM
Post #18

Total DIC-Wad
Group Icon

Joined: 25 Mar, 2009
Posts: 1,023



Thanked: 16 times
Dream Kudos: 550
My Contributions
Ditto
User is offlineProfile CardPM
+Quote Post

whiteberry

RE: Which Language Is Best?

1 Sep, 2009 - 10:16 AM
Post #19

New D.I.C Head
*

Joined: 1 Sep, 2009
Posts: 9


My Contributions
Excellent thread!

Thank you for posting your idea. That is a big help to me in choosing the language I should use in theses.
User is offlineProfile CardPM
+Quote Post

EOgre0152

RE: Which Language Is Best?

29 Oct, 2009 - 11:54 AM
Post #20

New D.I.C Head
*

Joined: 27 Apr, 2007
Posts: 19


My Contributions
This is an excellent thread.

I learned originally in VB5 and did tend to tell people it was the best back then, when I was younger and more stupid. Every language has its place.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 08:25PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month