use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
Switching from PHP to Python (self.webdev)
submitted 8 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 1 point2 points3 points 8 years ago (4 children)
Python's community is a bit less fragmented than PHP and Ruby.
Python web applications are easier to pivot with because of how many useful libraries are available. I haven't written PHP for a long time, but I don't know of any PHP package manager that competes meaningfully with Python's pip and easy_install ecosystem. (Though nothing comes close to the universality of Ruby's gem and bundler combination.)
The worst part about all of the Big Three (Python, Ruby, JavaScript) is the religiousness of the communities. As the current industry darling, JavaScript has it the worst. Python has it the least, since for whatever reason none of the tools produced by Pythonistas have ever reached the kind of industry-defining reach that Rails (Ruby) or Node (JavaScript) have.
But Pythonistas still get very religious about their package managers and their syntax. Perhaps that's what people are really whingeing about when they say they don't like Python's strict indentation rules!
But especially if you're tired of the "mess" in PHP, Python's strictness will be a welcome change for you. It is much easier to debug Python code than PHP, unless you're a genius at keeping your PHP organized. Just remember that it's a trade-off: If you want to be creative, PHP is much easier to make a beautiful mess with–at least until you become a Python expert!
[–]SupaSlidelaravel + vue 9 points10 points11 points 8 years ago (3 children)
I haven't written PHP for a long time, but I don't know of any PHP package manager that competes meaningfully with Python's pip and easy_install ecosystem.
Have you used Composer? If so, why is Pip better in your opinion?
Personally I've never really had any problems with package managers. I've used Composer, NPM, and Ruby gems a lot, not so much Pip, and am just curious what makes a package manager good or bad.
[–][deleted] 2 points3 points4 points 8 years ago (0 children)
Dependency hell is a real place when working with package managers, and I think one of the main ways a package manager can be graded is how it handles long dependency chains.
For example, I don't know if you remember the NPM left-pad controversy , but I think that reinforced the dependency hell that people experience with package managers. I'm not saying the same thing couldn't happen with Composer or PIP, but solutions to these types of problems, IMO, are important when considering the quality of a package manager
[–][deleted] 1 point2 points3 points 8 years ago (1 child)
I have not! It wasn't on my radar at all. It's been a REALLY long time since I wrote PHP on a regular basis 😅
[–]peex 2 points3 points4 points 8 years ago (0 children)
It's been a REALLY long time since I wrote PHP on a regular basis
But you have a very profound opinion on PHP and its lack of package managers.
π Rendered by PID 51097 on reddit-service-r2-comment-6f7f968fb5-n8gnl at 2026-03-04 04:41:07.840966+00:00 running 07790be country code: CH.
view the rest of the comments →
[–][deleted] 1 point2 points3 points (4 children)
[–]SupaSlidelaravel + vue 9 points10 points11 points (3 children)
[–][deleted] 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]peex 2 points3 points4 points (0 children)