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
-
mlask8537yThey hate PHP because they’re crappy programmers. Everyone shuld use language of his own choice, and not because it’s „trendy”. And most of people mistakenly thinks, that PHP is a web language only.
-
C0D4681387y@PHP
Pros:
- it’s simple to learn
- it’s simple to deploy
- it’s simple to maintain
- you can be up and running with a script quicker then you can load VIsual Studio.
Cons:
- it was never designed to be a full blown language, but then neither was JS and here we are many years later.
- it doesn’t enforce anything out of the box (design pricinples, methodologies, MVC/OOP, functional)
- it doesn’t have strict types (this is handy though)
- global constants don’t need to exist to be callable in some situations (case sensitive and fall back to strings)
Eg :
Define(“HELP”, ”help”);
if( HELp == “help” ){
//this works
}
- it won’t hold you’re hand and tell you how to fix it
- although being simple to learn, knowing all the cliff hangers and knowing how to avoid them is no easy task
- new devs pick it up and make an exceptional mess of things
- this leads to the misunderstanding of it being a horrible language.
Related Rants
Why some of you guys hate PHP? Sad. Please enlighten me. Haha
question
programming
php