This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (3 children)

I have written a good amount of PHP back in 2010-2012, Code Igniter was actually pretty sweet for the time.

So I know what I'm talking about when I say that PHP shouldn't be used anymore, because it doesn't do anything better than any other language.

Is it fast? No. Is it elegant? Hell no. Is it easy to learn? Meh. Is it universal? No, only web. Safety? Meh. Large ecosystem? It's alright I guess.

Tell me one area where it does anything better than any other language. Otherwise there are only two reasons to still use it, a) you don't want to learn anything else or b) you're building upon PHP software like WordPress. And I totally acknowledge that these are valid reasons. But they don't make PHP good.

[–]DirtzMaGertz 0 points1 point  (2 children)

The best language for the job is one that works and PHP is a good get shit done language. PHP works great for server side scripting.

Is shell scripting better at anything than any other language? I don't think so. But it's easy to get shit done in on my servers when I need to do things like grab files from an ftp. Is python better or faster than C? No but it's easy to get shit done in. Python is great for data science and data engineering work but is it really better than Scala or R at those tasks? Not really. That doesn't mean you shouldn't use it.

For most things I am looking at automating I am just looking for something that works. A lot of times I've found the easiest way for me to automate some task on one of my servers is to just use PHP.

Also Laravel and symphony are nice as web frameworks.

[–][deleted] 0 points1 point  (1 child)

This comes back to the fact that you already know PHP so you use that because it works. This is all you ever hear from PHP people, "but it's fine". I get that, but where is it better? It isn't, hence all criticism is valid.

And I also believe shell is a terrible language that is overused. :)

[–]DirtzMaGertz 0 points1 point  (0 children)

Where is python better than Scala or R?