Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP vs Python
03-27-2010, 12:26 AM
Post: #1
PHP vs Python
For better or for worse, I am far more proficient in PHP than Python. However, when it comes down to syntax, I would much prefer to write in Python.

I love the simplicity of Python; I tend to make fewer mistakes with its eye-friendly syntax. Although, at this point, I am so familiar with PHP's C-like syntax, that I can sometimes write 100+ lines of code without a single syntax error (and I don't use your silly error-correcting IDEs, but vi with only basic syntax highlighting on the command line).

Anyways, I have been writing several hundred lines of PHP daily for the past week or so, and I just can't get over how amazing PHP's official documentation is over Python's.

When I am trying to figure out how to do something new in Python, especially if it involves using libraries I am not familiar with already, I have to go through all kinds of hell googling around to find decent documentation on it. However, with PHP, just type in php.net/some_function or php.net/variables or whatever, and you not only get what you are looking for, but also a very smart list of similar functions / information as what you are viewing.

If I could go back and teach my 13yr old self how to code again, I would use Python because it is sane, scalable, and very efficient. But if I needed to assign my 13yr old self a project to complete, I would have him use PHP, because he could actually figure out how to do it.

nexus one screen protector




Find all posts by this user
Quote this message in a reply
07-22-2010, 05:54 AM
Post: #2
RE: PHP vs Python
I must say that PHP is extremely powerful and I like to use on websites. It's great to databases (MySQL does) to use it, but I voted as the most powerful. My vote in Python! The reason is because I want to use it for all those still in the online help, then I heard about the site, you can do the same thing. I like python because it is good to create applications ..

m3 zero
Find all posts by this user
Quote this message in a reply
Post Reply 


[-]
Quick Reply
Message
Type your reply to this message here.


Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.

Forum Jump: