Ask HN: Which prog. language(Perl, PHP, Python, Ruby) should i learn?
Wondering what each of these languages are used for and which one would be good to learn. I know these 4 languages are similar in that they are general scripting languages but i want to know some more about what each language is specifically used for when developing. Is it better to start with one vs. another? Is one language easier to learn? I already know some java, sql...
12 comments
[ 3.1 ms ] story [ 33.6 ms ] threadhttp://diveintopython.org/toc/index.html or http://www.ruby-lang.org/en/documentation/quickstart/
"what each language is specifically used for when developing"
They're used for all kinds of things. Not worth worrying about IMO.
Python is the most minimalist without being cluttered by unnecessary features (Ruby) or too many functions in the default namespace (PHP). The syntax is very elegant and easy to read (unlike Perl).
I recommend that you read Learn Python the Hard Way(http://learnpythonthehardway.org/index).
Python is structured, clean. Ruby is too freestyle for a beginner (imho), perl is a shipwreck.. and PHP is too limited in scope
1. if you are making web apps then Google App Engine / Python is a good choice
2. If you are developing Ipod/ipad/iphone touch apps then you should learn obj C
3. If you are more scientifically inclined and working in bio / Chem field then again I would recommend python.
4. If you are you young and have ample spare time at your hand then learn C.
5. if you are just plain beginner with no clue then I would suggest Ptyhon again.