PHP VS PYTHON | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

PHP VS PYTHON

1. what is, 2. uses, 3. is useful? , 4. Future, 5. secure, 6. level and many more....

25th Nov 2017, 4:08 AM
Ankit
Ankit - avatar
2 Answers
+ 2
Pyhton:- World top second programming language. It was initially launched​ as Scripting language but now it is a desktop applications, web development, networking, Scientific calculations,etc. it secure language. PHP:- It is mainly used for web development.It is back end language.It is also secured language because it codes are hidden on web. Good Luck
25th Nov 2017, 4:42 AM
Faisal Rahman
Faisal Rahman - avatar
+ 1
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.
19th Oct 2018, 3:46 PM
Maninder $ingh
Maninder $ingh - avatar