carlarogers
Member
Over the last several years, I have noticed some programming languages are safer than others when it comes to expressing opinions. I think everyone knows Python is superior to php for example. I am looking for help seeing the plain truth of this, as opposed to taking someone's word for it. I have programmed in Python and djamgo, but not nearly as much as php. I did not see a meaningful difference between the two. I am not going to argue that php is better. I only want to understand the reasons that people have for determining Python is better or visa versa. I am going confess to some skepticism and then do my best to leave it out of the rest of this thread. My skepticsm tells me it is possible the pereceived suporiority of one language over another is based on narrow experience and perceived popularity, not technical considerations. I hope my skepticism is unfounded. I also hope no one finds a need to communicate as if I am stupid, fire snarks, or insults Tough arguments are great when respect is shown. I am not interersted harboring false information or opinions. I love finding out where I am wrong, because I know I am wrong a lot an correction is the only method for improving that.
My problem is I am unable to see for myself the superiority of Python over php. This morning, I took a few minutes to read some articles explaining the difference. That did not help. Here is an example:
I have two problems with that quote:
My problem is I am unable to see for myself the superiority of Python over php. This morning, I took a few minutes to read some articles explaining the difference. That did not help. Here is an example:
Python is a high level object-oriented, programming language. It has built-in data structures, combined with dynamic typing & binding which makes it an ideal choice for rapid application development. Python also offers support for modules and packages, which allows system modularity and code reuse.
It is one of the fastest programming languages as it requires very few lines of code. Its emphasis is on readability and simplicity, which make it a great choice for beginners.
I have two problems with that quote:
- As far as I can tell, the word PHP could replace every spot where Python appears, and it I would not able to say which version of the is more true, the one touting Python or the one touting php. As far as I know, nothing in that quote does not apply strongly to php. Exception: I can see that some programming tasks might be easier and faster with python data structures. Given my workload, I can see saving an hour or two every few years as result of python data structuresl
- I was thinking side-by-side comparisons of programs doing the same tasks in different languages would make it easier to understand the advantages of Python. I admit, I tried only made a few search attempts to find samples. I did find any reference to comparisons like that.