T
T
tanokni2014-01-09 14:30:38
ruby
tanokni, 2014-01-09 14:30:38

php vs python vs ruby(ror)

I choose which of these three languages ​​to start with (I am zero, basic knowledge of html / css)
Goals 2 - the first is to use as the main source of income, the second is the implementation of my own projects.
If you focus on the first, then as far as I understand the choice is obvious - php - a low entry threshold, there are dozens of times more vacancies / freelance jobs. But I am repelled by the fact that many people pour mud on him, and praise the python and ruby.
In python, development is faster and more pleasant, and all things, in ruby ​​too, but the entry threshold is higher than in python.
Maybe even js? Since it’s all the same to study it for the frontend :)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
H
HaruAtari, 2014-01-09
@HaruAtari

Or maybe even pascal, since it was taught at school?
Sorry, couldn't resist.
The question, though fed up, but I understand you. At one time he asked himself. At first I learned php, because. when I started learning about ruby ​​and python I didn’t even hear. But then I wondered if it was worth changing the language. I also chose between python and ruby. And you know what? Stayed on php.
Tried both alternatives and liked both better than php. But the differences were not so significant as to be relearned.
Purely aesthetically, I really don't like php because of the "unexpected interface" in some places. (For example: In some similar functions, the parameters are in a different order). But there are a lot of wonderful firewalls. For example Yii - I use and php does not cause such disgust.
In python, I liked the "compilation" to byte code. Plus, they write applications for the desktop on it, which you can’t do on PYHYPY.
But if I now chose what to teach, I would choose ruby.
Very developed ecosystem (ror, sass, coffee, HAML). They customize the whole environment for themselves. Plus, the language is purely OOP-shny, which I really liked. It is beautiful, I liked the syntax more than the python.
I will not give banal advice, try everything and choose. I know you won't do that. But read the tutorials, look at the syntax. And choose the one on which it will be more pleasant for you to write. To me, this is the only significant difference.
The syntax can be compared here:
hyperpolyglot.org/scripting
hyperpolyglot.org/scripting2
And here is a table comparing different languages ​​(not only these): en.wikipedia.org/wiki/%D0%A1%D1%80%D0%B0%D0%B2%D0%...

I
Igor Yatsevich, 2014-01-09
@IgoNsk

If you want to work with the web, then PHP is the best place to start. You may not like PHP, but it's still worth knowing. In order not to love him, you must at least understand why. And therefore, if you want to grow somewhere higher, then in the future it will be possible to switch your attention to another language (Ruby/Python/Java/C#), which will either become a hobby or replace PHP as the main language for development. In any case, knowledge of PHP will not be superfluous, because. its pluses:
- easy to find a job
- low threshold of entry
- simple and medium projects to do on it faster, easier, more profitable than in other languages ​​- because php was invented for this. Therefore, when developing a complex server part, for example, in JAVA, it is sometimes faster and easier to throw a frontend in PHP.

B
bahek2462774, 2014-01-09
@bahek2462774

half of the questions on the toaster was "where to start learning."
the second half - "how to become a programmer in two weeks" ....
In your opinion - try everything. What to like on that and stop

D
Dmitry Filatov, 2014-01-09
@i_dozi

python, because it is suitable not only for web development.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question