Which is better, PHP or Python? Why?

0 168 Views | Posted 7 years ago

  • 6 Answers

    Sort by Upvotes
  • Shiksha Ask & Answer

    Answered by

    VISHNU AGARWAL | Contributor-Level 10

    7 years ago
    PHP and Python are the most popular web development languages today. In fact, these two languages power most of the popular websites on the internet today.
    PHP powers some of your favorite websites including Wikipedia, Flickr, Tumblr, and Yahoo. Python attained its popular status when Google selected it for powering some of its well-known projects. Gradually this trend prevailed and now industry giants such as YouTube, Reddit, Pinterest, Instagram, and Spotify use Python (either partially or completely) in their product platforms.
    A typical framework provides hundreds of functions that developers could call in for adding specific functi
    ...more
  • Shiksha Ask & Answer

    Answered by

    Shikher jain Student | Guide-Level 12

    5 years ago
    Both are good. They both are very popular web programming languages. But in today's world, Python is a highly recommended language.
  • Shiksha Ask & Answer

    Answered by

    Pavithra Desu Design Engineer | Guide-Level 13

    5 years ago
    Python has very good opportunities now-a-days. It has good scope compared to the other.
  • A

    Answered by

    Arvind Singh

    7 years ago
    That's a very subjective question. No language is inherently better than another - certainly not languages so basically similar. I've been working in PHP for a while now, and I can honestly say that saying Python is faster or that PHP doesn't scale is a crock of crap. I've built an enterprise system in it, a huge web application for online publishing which transitioned from a single server to a load balanced cluster easily, and it works like a charm.
    Sure, PHP has its downsides, but you can accomplish anything you set your mind to with it, within the limits of a normal web application. Where Python really shines, though, is the fact tha
    ...more
  • R

    Answered by

    Rahil khan

    7 years ago
    Each language has its individual advantages and disadvantages apart from some key distinctive features.
    However, it cannot be ignored that these days, developers (both individual and
    PHP application development service providers) are switching from PHP to Python. This is because Python programming offers quite a number of benefits which we programmers love. Simple as the decision may sound, for us, selecting one over the other is not a momentary decision. I think these are some crucial points where Python scores over PHP:
    Design
    Learning
    Web framework
    Readability
    Syntax
    Debugging tools
    Python is better designed than PHP
    Elegance matters. PH
    ...more
  • Shiksha Ask & Answer

    Answered by

    Debajit Chandra | Guide-Level 14

    7 years ago
    Hi,
    The future is Python and Json because these languages are used extensively in machine learning, automation and web application. Many cloud computing providers prefer Python and Json combination to cater their automation and IoT. Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language.
    I would suggest learning Python and possibly Json together.

Get authentic answers from experts, students and alumni that you won't find anywhere else

Sign Up on Shiksha

On Shiksha, get access to

  • 64k Colleges
  • 968 Exams
  • 621k Reviews
  • 1500k Answers

Learn more about...

Share Your College Life Experience

Didn't find the answer you were looking for?

Search from Shiksha's 1 lakh+ Topics

or

Ask Current Students, Alumni & our Experts

×

This website uses Cookies and related technologies for the site to function correctly and securely, improve & personalise your browsing experience, analyse traffic, and support our marketing efforts and serve the Core Purpose. By continuing to browse the site, you agree to Privacy Policy and Cookie Policy.

Need guidance on career and education? Ask our experts

Characters 0/140

The Answer must contain atleast 20 characters.

Add more details

Characters 0/300

The Answer must contain atleast 20 characters.

Keep it short & simple. Type complete word. Avoid abusive language. Next

Your Question

Edit

Add relevant tags to get quick responses. Cancel Post