Python Forum
Readability in Python and PHP
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Readability in Python and PHP
#1
Hello All, I am working on a python project and I have 2+ years of experience in PHP. I want to know which programming language readability is more easy between python and php. I have asked this question on quora and according to this source, PHP is a classic programming language that mainly relies on documentation and follows a set of conventions. As a result, it’s more difficult to read than Python. Can anyone tell me, about python?
Reply
#2
The blog that you refer to in your link appears to be unbiased at the start, but then becomes very biased toward PHP.
perhaps this review is more fair: https://hackr.io/blog/python-vs-php

I was a 'C' and 'C++' programmer for almost 30 years prior to changing almost exclusively to Python. There was really only one reason why I did this, and that was the availability of packages for almost anything I could think of.

Example: 36 projects for ""traffic light"", 568 projects for ""barcode"" ( https://pypi.org/ )

As far as readability is concerned, that's sort of programmer controlled. Well formatted code with sensible object naming is very easy to read. Spaghetti code in any language is next to impossible to read.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  the way i like to code for readability Skaperen 0 1,153 Oct-23-2019, 01:30 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020