The first thing to think about when trying to program is "Which programming language should I start with?"
And if you go google, the programming language called Ruby will come in as information first.
The reason why Ruby gets caught in beginners first is because "most programming schools are pushing Ruby hard".
By the way, if you go further, PHP and Python are languages similar to Ruby.
Which language should I study?
First of all, the image I had with little knowledge.
As a result, I've heard about PHP somehow ... In my case, I knew the existence of a programming language called PHP because I was running a blog on WordPress for a while.
I wrote that PHP is old-fashioned, but when I googled it,
It turns out that PHP is new among these three programming languages. I would like to apologize to PHP, which was categorized as old-fashioned just by the image.
There are some reasons why they are compared, but these three programming languages are very server-side languages.
And the method of description is very similar.
For example, let's simply use Hello world! In 3 languages!
Ruby
print "Hello World!"
PHP
<?php
echo "Hello World!";
?>
Python
print("Hello world!")
...... .... ..
Did you notice! ?? Ruby and Python are similar in writing, but PHP is a little messy, isn't it? Earlier, I wrote that the description method is very similar, but in fact, if you take a closer look, only PHP is different.
The reason why only PHP is a little messy is [PHP Wikipedia](https://ja.wikipedia.org/wiki/PHP_(%E3%83%97%E3%83%AD%E3%82%B0%) I found the following description in E3% 83% A9% E3% 83% 9F% E3% 83% B3% E3% 82% B0% E8% A8% 80% E8% AA% 9E)). Isn't it the answer?
Originally PHP was not a programming language, it was just a template-like process, but due to repeated additions of functions and code rewriting, PHP 5 and PHP 7 released as of 2017 are aimed at. It is a scripting language that can be used for general purposes.
in short __PHP was originally a different programming language. __ I'm guessing, but I think that's the answer.
Here, I will write about two major factors.
A framework is software that can significantly shorten the development process when creating an application, and this __ framework is substantial = it is possible to create an application with great functions in a short period of time. __ If you can use it, it's like a magic item, but for Ruby, PHP, and Python introduced this time,
It has a great framework like the one above.
Isn't it exhausted here after all?
All programming languages are used by leading companies that are difficult to match.
If you say that you should learn the language you are interested in, that's all you need to do.
If you are learning to get a job or change jobs, not as a hobby, simply look at the number of job offers. PHP>=Ruby>Python PHP may be the best because of the tendency. It's just about the number of job offers ...
Recommended Posts