LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Programming (https://www.linuxquestions.org/questions/programming-9/programming-809454/)

jokar.mohsen 05-22-2010 06:12 AM

Programming
 
Hi.
I want choice a programming Language for Learn,but i want detect Ruby,Python Or PHP,This Three Language is powerful
But What is best?
your Opinion for me is important.
Please help me.
thanks

jlinkels 05-22-2010 06:23 AM

The common answer to this common question is: there is no best language. You should read about the most important specific applications for each language and make a choice which is best for you.

jlinkels

cola 05-22-2010 06:48 AM

Quote:

Originally Posted by jokar.mohsen (Post 3977443)
Hi.
I want choice a programming Language for Learn,but i want detect Ruby,Python Or PHP,This Three Language is powerful
But What is best?
your Opinion for me is important.
Please help me.
thanks

Learn all and compare.

catkin 05-22-2010 08:41 AM

Each language has its pros and cons which results in them being more or less suited for various programming tasks. It's "horses for courses" meaning there is no best horse -- it depends which course they are running on.

H_TeXMeX_H 05-22-2010 09:06 AM

For learning ? Well, I'd vote for python, it's easy to learn. Ruby is ok too. PHP is mostly for web sites, are you planning on making web sites ?

Mohtek 05-22-2010 11:57 AM

Quote:

Originally Posted by H_TeXMeX_H (Post 3977580)
For learning ? Well, I'd vote for python, it's easy to learn. Ruby is ok too. PHP is mostly for web sites, are you planning on making web sites ?

I would agree about python being easier to learn. Once you learn it, some of the fundamental concepts of programming will cross over to the other languages. It is also more of a general purpose language (From websites to graphical programs to computer administration), where PHP, for example, is specific to the web. Python has a python interpreter, which you may use to explore commands. When learning a language learn about IDEs or Integrated Development Environments. Most have syntax highlighting, which helps you understand how the code works, and helps you catch errors.

One of the things I did when trying to choose a language was googling: "ruby vs python" or "PHP vs Perl" You will get people who feel strongly for one language over anther, (horses for courses ~katkin) but you will get a feeling for why people prefer one over the others. It will help you build your own perception of the computer languages.

The one piece of advice I would offer is "Choose carefully, and learn completely", then move on to other languages if you are curious about them.

theNbomr 05-22-2010 03:30 PM

If there was only one best language, don't you think everyone would use it only? Learn any language. When you figure out what it can't do for you, find another that can. Repeat until done.

--- rod.


All times are GMT -5. The time now is 02:25 AM.