Where to go after php? Ruby or Python?

0 like 0 dislike
6 views
Actually the question in the title :) I Want to hear the fundamental differences between the languages. For some tasks it is better suited?
by | 6 views

7 Answers

0 like 0 dislike
Python is much faster, better documentation, more polished (in ruby still, you can see a library generate html 3.2 — an example of the fact that they are hard to operate on those tens of thousands of files). Twitter, which is often shown as an example of a popular website on the rails, rewrote the loaded part of Scala, because ruby wasn't coping.
The popularity of Ruby is closely connected with the popularity of the rail. When I learned about the language (2001, rail was not yet) it, especially any who were not needed outside Japan. Appeared rails — ruby became ultra-fashionable language (some still can't understand that ruby and Rails are not one and the same). Although now, it seems that the popularity abating.
Python is all the time systematically developed and popularized more or less independently.
\r
So I would lean towards Python. Strong point of ruby and OO syntax.
\r
In General, this is all terribly subjective opinion, teach what you like more.
by
0 like 0 dislike
Learn Python.
\r
He will make You a better programmer because python
\r
a) welcomes the gamesmanship
b) learn to take the simplest (KISS) solution is not to complicate anything
\r
the educational aspect in python is very explicit — there is always 1 correct way to do something. Very useful "brainwashing" it turns out, have not seen such in any other language. Learn to look at the code "down", I think more about how to organize it, not how to write. After Python to other languages starting to write better, because in the head is still useful ideas and principles.
\r
Ruby some "stronger" language, gives more freedom, allows you to do many different stunts and has such a pronounced ideology. It seems to me that to learn ruby too useful and practical, it is a good language, but learning python is more useful due to the fact that it teaches the right things (for example, avoid the tricks of all the forces).
\r
Another option is to learn javascript. It is good to learn to understand all the OP-feature of the language and its non-standard object model. Js guru enough, the crowd can make a whistle with jQuery and nothing more. With a good knowledge of js is rather easy to write all sorts of super-fast asynchronous realtime-stuff on node.js. At the "power" of a language quite adequate to Ruby and Python, except that there is slightly less pleasant syntax and less libraries for the server part.
\r
Libraries for python and ruby full. Imho they are more than for php, and how to distribute them better. In Python there is a standard library on all occasions with lots of Goodies. The community is very different in the ruby community you will see beautiful sites that promote certain library, a bunch of adjectives awesome, every second will be a rock-star-programmer and so on in the python community you will see, most likely, boring harsh engineers. I, of course, exaggerating)
\r
Areas of application languages have similar, speed is similar, capabilities are similar. The main criterion here — likes/dislikes.
by
0 like 0 dislike
Java :)
by
0 like 0 dislike
I would first try the Python 2-3 weeks(for General development), and then walked towards Ruby.
\r
If on the contrary — I would be crazy too lazy to learn Python after knowing the beauty of Ruby :-[
by
0 like 0 dislike
These languages are very similar, both in purpose and ideology. Any radical differences between them.
\r
Personally, I prefer ruby for the "correct" object model, readable syntax for blocks, for open classes. Again, another huge plus ruby — Rails.
\r
So the standard answer is try both and teach the one who will fall for the soul=)
by
0 like 0 dislike
What else touches ruby is rubygems + a lot of libraries.
by
0 like 0 dislike
Ruby definitely.
\r
I killed Python in its syntax and complete dissimilarity to other languages.
by

Related questions

0 like 0 dislike
4 answers
asked Apr 3, 2019 by tanokni
0 like 0 dislike
1 answer
0 like 0 dislike
7 answers
asked Mar 28, 2019 by I3Lack_CaT
0 like 0 dislike
4 answers
0 like 0 dislike
7 answers
asked Mar 24, 2019 by systemiv
110,608 questions
257,186 answers
0 comments
28,863 users