Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Python programmers?

#6
Updating this after a few years of experience. My verdict? Python is a far better language, but PHP isn't going anywhere.

They are designed for two different things. With web development, pretty much anyone could have a need for a website, and it pays to have at least some experience with the code involved. PHP kind-of has to be beginner-friendly for that reason, and hence it doesn't force you to initialize variables, has multiple ways of doing things first, etc.

Python is also very easy and is a go-to language for doing things quickly, but it's not built for the web. And as a result, has the freedom to do things a little differently than PHP. It can be a little more "proper" without having to worry about whether it's fully "web friendly" for a shared hosting environment such as GoDaddy or Hostgator.

Additionally, PHP has evolved. It likely became as successful as it is now, largely because it was at the right place at the right time. They have had no choice but to expand the language WITHOUT introducing major breaking changes. Some of the language's overall inconsistency stemmed from this. Python is much easier to introduce a new version for, and call it a day. They released Python 3 10 years ago, and Python 2 is still being used today. Virtual environments for Python are easy. (and for PHP, not so much, as you only get one version, and that's the version your host provides. Finna)

So PHP has been forced, in a sense, to be extremely beginner friendly AND to be compatible with older code standards. I believe Python is a better language in terms of programming and its practices, but only because it can be. For web development, PHP is the best language we will ever have, simply because it's so widespread and heavily supported.

Reply


Messages In This Thread
Python programmers? - by Darth-Apple - March 21st, 2018 at 1:45 PM
RE: Python programmers? - by Gmdykfuiygh66476 - March 21st, 2018 at 3:54 PM
RE: Python programmers? - by SpookyZalost - March 25th, 2018 at 10:30 AM
RE: Python programmers? - by Darth-Apple - March 26th, 2018 at 2:50 AM
RE: Python programmers? - by SpookyZalost - March 28th, 2018 at 5:03 PM
RE: Python programmers? - by Darth-Apple - March 8th, 2020 at 4:49 AM
RE: Python programmers? - by SpookyZalost - March 8th, 2020 at 6:00 AM
RE: Python programmers? - by Darth-Apple - March 8th, 2020 at 6:13 AM
RE: Python programmers? - by SpookyZalost - March 8th, 2020 at 7:38 AM
RE: Python programmers? - by Guardian - November 14th, 2020 at 7:49 PM
RE: Python programmers? - by Darth-Apple - November 14th, 2020 at 9:05 PM
RE: Python programmers? - by Guardian - November 14th, 2020 at 11:01 PM
RE: Python programmers? - by Darth-Apple - November 15th, 2020 at 12:37 AM
RE: Python programmers? - by Guardian - November 15th, 2020 at 12:50 AM
RE: Python programmers? - by SpookyZalost - November 15th, 2020 at 8:02 PM
RE: Python programmers? - by Thomas - November 15th, 2020 at 8:35 PM
RE: Python programmers? - by Darth-Apple - November 15th, 2020 at 8:55 PM
RE: Python programmers? - by SpookyZalost - November 16th, 2020 at 5:38 AM
RE: Python programmers? - by tc4me - November 16th, 2020 at 5:54 AM
RE: Python programmers? - by SpookyZalost - November 16th, 2020 at 5:59 AM
RE: Python programmers? - by tc4me - November 16th, 2020 at 6:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cython - Python at the Speed of C Darth-Apple 0 1,706 April 11th, 2020 at 1:07 PM
Last Post: Darth-Apple
  Recursive Sequence of Death [Python] Darth-Apple 7 8,674 April 19th, 2019 at 3:39 PM
Last Post: bestforums



Users browsing this thread: 1 Guest(s)

Dark/Light Theme Selector

Contact Us | Makestation | Return to Top | Lite (Archive) Mode | RSS Syndication 
Proudly powered by MyBB 1.8, © 2002-2024
Forum design by Makestation Team © 2013-2024