Should I Learn Python or Ruby or PHP?

preview_player
Показать описание
Should I learn Python or Ruby or PHP?

Programmers put more energy into debating that question than any student every did Spanish versus German versus French.

Spanish is more useful, while French makes you sound romantic.

All three languages are object oriented and dynamic. The only caveat is that PHP only became object oriented over time, while Python and Ruby were created as such.

An IEEE survey found that Python was the most popular language at 11%.

PHP essentially tied it with 7%, while Ruby was a mere 4%. And other garnered 29%, the greatest by far.

OK, so polling the pros doesn't answer the question.

Everyone has their favorite programming language, and they'll all advocate for it.

Ruby is a big name because it is popular in Silicon Valley.

Ruby is popular with startups because programmers can use a lot of built in tools to create look-a-like apps. They can slap together an app faster.

Ruby is simpler to learn than PHP.

Yeah, but PHP does better on the server side. And PHP is simple to deploy.

Whereas Python has had to be retro-fitted to keep up with the modern era.

It is still a solid programming language with lots of support resources. Ruby needs a framework to work at all; you can't just run the code on your server and have a working app.

That's why they keep talking about Ruby on Rails. Ruby is the code while Rails is the framework.

Python usually works faster than Ruby. And Python has the Django framework, which comes with a good toolkit.

Python and Ruby I've heard are better designed than PHP. Which one is better?

But PHP lets you create server side web-pages easily.

PHP shifts a lot of its dependency issues onto Apache.

PHP has more mature CMS frameworks to use, such as Wordpress and Drupal.

I heard Ruby and Python are similar, but no one can give me a good reason to pick one over the other. All I know is that I don't want to work with PHP, since it is too clunky.

Just pick a language and go. Odds are you'll have to learn JavaScript or C# anyway.
Рекомендации по теме
Комментарии
Автор

The last line should be: Just pick a language and _Go_ . Because eventually Python, Ruby, and PHP will break down and people will have to move onto a more modern language. Pick one for job security now, though I really don't recommend PHP even though the market is booming because it's such a very depressing language to use. I'd opt for Python personally but that's mainly because it's more relevant to my other interests outside of web dev.

If you still insist on learning PHP, you should really learn Laravel (or Symfony2 though I've never tried that). I don't recommend mastering PHP without a modern framework because you might edge into very, very bad practices. Laravel at least pushes you in the direction of good practices and not only that, it also allows you to develop really fast... but it's PHP, who am I kidding?

If you don't care about the job market and just want to learn a language, then the answer is Go. If you don't like Go for some reason like maybe it's too "new" then Python definitely. Just try to stay away from PHP if you can.

runeknytling
Автор

My Favorite Programming Languages:
Python
PHP
Java
C++
C

qod
Автор

ahha the comment about javascript and c# lol 

muggyate
Автор

Can anyone tell me Why we cannot use c++ fpr web development?

FightAndFunHub
Автор

Ruby is temporarily here. It will fade away with time. You want a stable job anywhere you go to? Go with PHP. You want to program robots and machines? Go with python. Moral of the story: php is everywhere along with javascript. Learn Angular, grunt, MVC mindset, anything front end and then use php for the backend. You'll have everyone begging you to work for them. I should know, I make 170k a year.

KingOfGods
Автор

Where does the female voice come from?

davidreynolds
visit shbcf.ru