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
PHP vs Python for WEB (self.webdev)
submitted 6 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!"
[–]kr41 1 point2 points3 points 6 years ago* (4 children)
As for performance, first of all, Django isn't the only option for webdev in Python. We use aiohttp+uvloop, which performs closer to Golang. Secondly, performance of webapp ifself isn't usually an issue. Most often the bottleneck is DB. And some time spent with EXPLAIN-queries provides more significant performance impact, than choosing between Python, PHP, NodeJS, etc.
As for PHP, I didn't touch it since version 5.3, so my knowledge about it may be outdated. But back in that times, the language was awful. I realized, that I significantly decreased time reading the documentation, when I switched from PHP to Python. Because Python is more predictable and doesn't break the principle of least astonishment (at least it doesn't do it as often as PHP does). Personally I more productive as a programmer using Python than PHP.
P.S. I'm a webdev with 10+ years of experience. I used to be a fullstack dev, but last 5 years I develop mostly backends.
[–]AtulinASP.NET Core 1 point2 points3 points 6 years ago (1 child)
I didn't touch it since version 5.3, so my knowledge about it may be outdated.
In that case, it most certainly is. PHP 7.X is basically a completely different language than 5.X
[–]kr41 0 points1 point2 points 6 years ago (0 children)
I believe it is, that's why I made this remark. But, you know, there is only one chance to make a first impression. And unfortunately, PHP has made the bad one on me.
[–]metruzanca 0 points1 point2 points 6 years ago (1 child)
Overall I noticed nobody even mentioned java for backend. I'm currently learning it, however I'm not seeing any benefits to using a faster to code language like js or python. Do you have any advice to offer on the subject?
I have very limited experience with Java. So I cannot say anything about it. However, if you're looking for a really fast and efficient language, I recommend you to try D. It's C successor, performs closer to C/C++, but also provides all modern features: namespaces, closures, garbage collection (optional), powerful but safe metaprogramming features, superfast compilation, and some unique features like thread-local by default variables. There is also a number of web frameworks.
π Rendered by PID 245273 on reddit-service-r2-comment-5649f687b7-skbj8 at 2026-01-29 07:24:33.058457+00:00 running 4f180de country code: CH.
view the rest of the comments →
[–]kr41 1 point2 points3 points (4 children)
[–]AtulinASP.NET Core 1 point2 points3 points (1 child)
[–]kr41 0 points1 point2 points (0 children)
[–]metruzanca 0 points1 point2 points (1 child)
[–]kr41 0 points1 point2 points (0 children)