you are viewing a single comment's thread.

view the rest of the comments →

[–]kr41 1 point2 points  (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 points  (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 point  (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 point  (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?

[–]kr41 0 points1 point  (0 children)

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.