A
A
abzall2021-07-21 18:20:48
Career in IT
abzall, 2021-07-21 18:20:48

Why do people say to learn python instead of php?

I wanted to become a backender, and when choosing a language, I noticed that many do not like PHP, and instead I need to learn Python.
What is the advantage of python over php? (other than syntax)?
And yet, is there a future for php?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
D
DevMan, 2021-07-21
@abzall

ask the many who say it.
they have completely different niches, although they partially overlap.
ved-devs - they have parity. and the choice between languages ​​is stupidly tasteful.
applied things - definitely a python.
I personally prefer the elephant for webdev/backend.

N
nokimaro, 2021-07-21
@nokimaro

Learn to Program

A
aby125, 2021-10-04
@aby125

I, as a person who is constantly in a cart in job search chats in both PHP and Django, will say that, on the contrary, it is better to start in PHP.
It is harder to find the first job in python, many people whine that they cannot find it. Go to the django chat for job search (quite cozy) and sit there, you will see it for yourself.
Php is easier to find the first job. Why is that? Roughly speaking, PHP has two niches, these are ordinary sites / shops on cms and more complex service sites on frameworks, and Python has one niche in the back, these are just the same more complex sites on frameworks. There, from complete zero, they take it badly, both in php and in python. Those. it's easier to start a career purely in PHP, it's easier to find your first job (and this is very important) and not merge. And when you grow up to more complex sites, you can switch even to python with django, even to php. There will be no problems. In general, the language is a tool, do not get hung up on it. If you wish, you can master all this at the same time, thereby expanding the number of potential vacancies.
Also, there is a small exception. If you understand that you can get an internship at a large company like Yandex and further develop your career from there, then you can start with python, it is usually used there, not php. But there is a risk to merge, thinking that programming is not your thing.
Well, depending on who's talking. There are a lot of articles, bloggers on YouTube who advise python. But they take it not from the real experience of employment / career start in the CIS countries, but they translate foreign videos / articles. Also, your friends can talk because they have read themselves. (They can also work as programmers, for example, front-end developers, but it’s hard to imagine how easy it is to start a career in backing)

D
Daria Motorina, 2021-07-21
@glaphire

One of the difficulties is that there is less quality material to learn from it, you often need to be familiar with java to get the right information. From a certain point, php ceases to be a decisive factor in development, because for good work you still need a lot of related knowledge - bases, frontend, infrastructure, architecture and business processes, after that php becomes only a tool for solving problems

P
Puma Thailand, 2021-07-23
@opium

And where did you get the idea that it has an advantage in syntax?
To be honest, the indents are not very good.
Simply, according to the ratings, he will become top 1 soon, that's all, they advise you to learn what is popular, nothing more
. And where should the future of PHP go?

M
mkone112, 2021-07-23
@mkone112

Because they like python. Those who like php recommend php, those who like pros recommend pros, those who like...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question