What to Learn PHP or Python..?

What you prefer to learn.?

  • Python

    Votes: 69 75.0%
  • PHP

    Votes: 23 25.0%

  • Total voters
    92
Its actually depend on many things . In this modern era both are going fine . But mostly PHP is used for web site building so you can go for this I recommend you .
 
So there is just room enough for only one program in ur brain? Why not try learning one course all ur life time.

I think the proper way to put that question is by adding “first”, which do one/ you learn first. Because we can learn a lot of things. Nobody said u can only learn one programming language. I mean... What the heck brov?
no one said he wouldn't learn another in the future, "brov", just because someone is going to learn one language doesn't it mean another will be in the interest parameter in the later stages of coding.
 
As a result, learning PHP has been seen to take more time as compared to learning Python. Time taken to learn a programming language should be one of the most important factors in choosing which language to pick. For beginners, Python is much easier. PHP, on the other hand, can be a bit tough for novice programmers.
 
Hello All,

In all aspects (Resources, Functionality, Job/Freelance Work, Support) which one should learn, Python or PHP.?

Need expert suggestion.?

Thanks
I don't understand why people still thinking about PHP in 2019...
Even if you want to develop websites you can use great library like Django.
I never liked PHP and I will never do.
 
I don't understand why people still thinking about PHP in 2019...
Even if you want to develop websites you can use great library like Django.
I never liked PHP and I will never do.
I completely agree on that, php has lost it's value and languages lika JS is in the top tiers now imo.
 
I would definitely pick Python. 3-4 years ago I worked with a guy who was a web designer and WordPress developer and he told me that he is going ro switch to Python. That's when I should have started learning it but I still didn't
 
Python is way better, but Wordpress is PHP, thats pretty much your desicion. Do you use wordpress? Then learn some PHP, for everything else you will be better with phyton as it is way more complete language
 
I’m stuck in figuring out which language to learn first.
 
I completely agree on that, php has lost it's value and languages lika JS is in the top tiers now imo.

Hell no. Javascript is just another flashy thing. It's absolutely ridiculous language. PHP is and will be popular, but Python seems to be gaining more popularity these days.
 
Don't just learn one. Doing both won't hurt in my opinion
 
Hell no. Javascript is just another flashy thing. It's absolutely ridiculous language. PHP is and will be popular, but Python seems to be gaining more popularity these days.
Sorry but I can't keep up with you, php is lousy compared to many other contenders :) It's already out-dated 2018.
 
Sorry but I can't keep up with you, php is lousy compared to many other contenders :) It's already out-dated 2018.

https://w3techs.com/technologies/details/pl-php/all/all (and other statistics)

If over half of the world is using PHP then it's not dying anywhere. It's like people are saying that Java is dying, but damn thing is still everywhere.

I see some experts here and i would like to know how long will take to learn Python for a total noob?

You will learn basic things within few months. Other knowledge comes from experience.
 
https://w3techs.com/technologies/details/pl-php/all/all (and other statistics)

If over half of the world is using PHP then it's not dying anywhere. It's like people are saying that Java is dying, but damn thing is still everywhere.



You will learn basic things within few months. Other knowledge comes from experience.

https://medium.com/zerotomastery/want-to-be-a-web-developer-learn-node-js-not-php-dc298154fafd

PHP is becoming less relevant, you love php I get it but it's still slowly but surely losing out to competition. There are a lot of things out there and php is widely used now but times changes.

This is purely my opinion :)
 
https://medium.com/zerotomastery/want-to-be-a-web-developer-learn-node-js-not-php-dc298154fafd

PHP is becoming less relevant, you love php I get it but it's still slowly but surely losing out to competition. There are a lot of things out there and php is widely used now but times changes.

This is purely my opinion :)

Nope, I don't love PHP, I do love Python, it's amazing. It's just I have been using PHP 15+ years and still use it every day and I have been around it long enough to understand what's going on. PHP 7 was an incredible update so I don't see PHP becoming unrelevant or dying any time soon.
 
Learn both, it's not that hard. I use Python daily and PHP sometimes, when I need to support legacy project or create some kind of integration.
I hate PHP and I'm really happy that I know how to use it. Sometimes it's a lifesaver.
Learn as much as you can, this way you will draw your own conclusions.

FYI, Zen of Python:

Code:
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
 
Hell no. Javascript is just another flashy thing. It's absolutely ridiculous language. PHP is and will be popular, but Python seems to be gaining more popularity these days.
+1 for saying server side JS is ridiculous. :D
 
I started with PHP and later Python.
But both are very useful, I used stuff in PHP for quick deployment and integrate with python when required.
The important thing here is when you learn your first coding language. Then how well you learn the same but with different rules and syntax.

I would suggest go with something like PHP so you use semicolons ; and some other rules like variable with $variable and opening and closing (encapsulation) { } that way you will develop discipline. Python makes you lazy with that, but more simple.
 
I would suggest go with something like PHP so you use semicolons ; and some other rules like variable with $variable and opening and closing (encapsulation) { } that way you will develop discipline. Python makes you lazy with that, but more simple.

If we are talking about discipline then I'd suggest learning Java or C# instead. There you get used to types and stuff. Both PHP and Python don't really have such things. Yes, for both of them there are now ways out there eg: PHP 7.4 (if I remember correctly) and Python has it too since 3.6 or something, but it's not enforced.
 
Back
Top