+ 1
Programming languages
Whtch one of the python languages or PHP language is better
1 Answer
0
python is best Because.
1. Python has a philosophy that helps to write better for understanding code.
2. Language evolution planning using PEPs - you know what you get in a next few years. PHP development process looks chaotic: making OOP like a something in Java, then add some "static typing" collections, then include some lambdas and namespaces (almost after 15 years of development). What's next?
3. Python has more compact and clean syntax that helps developers,
4. In Python the same things can be done the same way.
There is no matter what iterable things you using (list, tuple, string or something else) you always can access by index, get a slice, iterate over it or get the length the same way. No strlen()/count(), substr() and a lot of other functions.
5. More predictable and strict.
No 1 == "1" and other strange things like in PHP.
6. Python has more unified and powerful standard library. It has some problems, but python's included library much better than PHP's.