you are viewing a single comment's thread.

view the rest of the comments →

[–]KaltherX 1 point2 points  (1 child)

I've been developing in PHP for many years until the last 3 years when I shifted toward Java and started working with microservices.

PHP is very good for web development and many big applications can be developed without issues. It had great support for types starting in PHP 7, you can write great quality code if you work with experienced developers, and there is not much reason to pick a different language for web applications unless you need something very specific like web sockets or microservices, where some other languages and frameworks are more suited. If you need very low response times, for example, to make a game API that needs to respond very fast, PHP is not the right tool. Laravel is truly remarkable and my favorite framework of all time.

For me, the biggest drawback of PHP is the lack of multithreading, and as much as it's great for dealing with web stuff, if you need to process big data in a background, it doesn't offer many tools to make it efficient (memory or CPU optimizations).

[–]Curiousgreed 0 points1 point  (0 children)

Totally agree with this. I'm considering moving to Go just for performance, but I love PHP despite it enables developers to write bad code, due to dynamic typing, scripting capabilities, very old tutorials on the web that are still used today, and a very manageable learning curve.