Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
moagggi7817ydue to the fact that php syntax actually is written in english, I'd also say !1. 👌😂 anyway this does mean, that I think en is the best language 😉 mine would be bavarian ♥️
-
kubre17077ySounds great but its not the best but best in web dev at least
Also
Welcome to devRant -
If you want to build a website then php's great, if you want to build anything else... Then not so much.
-
Wack61957yI like it for web dev. If possible PHP 7.1, nice PDO for DB access, composer for dependencies and static types for funtion arguments as well as returntypes.
Plus Symfony framework on top.
Other than for web related stuff, I'd use rust or for a quick and dirty solution python. -
lotd77757yYup. it's tge cleaning most concise, convenient, performant & syntactically beautiful language. Period.
Ruby can't even hold a self-igniting glycerin empowered candle to it. -
@dontbeevil If vulnerable language doesn't exist, and PHP can be vulnerable, does that mean PHP is not a language?
-
Wack61957y@mzeffect I think what he ment was, that there are a lot of vulnerable bad practices around. Specially outdated tutorials telling you to use `mysql_*` functions with directly stuff from get parameters, while for example ruby (good job there) states in there beginner tutorial that you should use prepared statements and gives you easy examples using them. And yeah sure you can set in your php settings to include (and execute) content from anywhere including some website, but you could do that with most languages.
To turn the checks: php is nothing more than c. If php is vulnerable, does that imply c is vulnerable? And let's not forget that c got a few vulnerable things like fgets (in older versions) that didn't check bounds...
is php the best language in the world?
question