4 ms·
The hatred against PHP seems to be coming from the people that only know the old days of the language and haven't checked it recently. I'd say PHP is quite rele
by karakanb 6y ago
The hatred against PHP seems to be coming from the people that only know the old days of the language and haven't checked it recently. I'd say PHP is quite relevant for any kind of web-apps these days; the language has evolved greatly in many fields, you have a huge community and there are tons of libraries to get anything done. Especially with Laravel, you can get a fully-functioning web application with a full auth flow in a few minutes.
There are places where you might want to think twice about using PHP; especially with cloud-native stuff, I see that there are many libraries that do not really consider supporting PHP, which might make it troublesome sometimes depending on the environment you will use it. However, if there is a need to develop a web app as quickly as possible, I have personally never seen anything beat PHP.
- greenshackle2 6y agoAs someone who maintains an extension for PHP, I hate it because the Zend C APIs are an undocumented dumpster fire, and PHP's basic data structure, zend_hash, is a weird hash type with a str/int union key type and an awkward API. I also hate it because I hit more memory issues (double free, unitialized reads, etc.) in the language and core libs with PHP than any other high level language I'm maintaining similar extensions for.
- mm89 6y agoPython is great, but I think the answer to "develop a web app as quickly as possible" is just going to be whatever the developer has been using and is comfortable with. A .NET developer might be able to throw up a webapp quicker with .NET tooling instead of picking up Python & Django (or PHP & Laravel), for example.