What's so wrong about it exactly ?
What's so wrong about it exactly ?
Nothing. It's the best web language by far, which is why it's used so much.
>but muh inconsistencies (which every lang has)
>but muh OOP (functional is infinitely superior)
Each request runs a new PHP process which makes wasteful using it for web programming, compared to alternatives like Node.JS, Django or ASP.NET.
But senpai, you have objects, you can OO as well.
People will bitch and moan about PHP but it's the most stable and well supported web languages.
Fuck your Javascript npm install pajeet-pack2.0 bullshit nigger.
I know it has OO, but it's functional first and foremost unlike many other languages.
>>but muh inconsistencies (which every lang has)
this is so wrong it's painful. it's so inconsistent that it's literally harmful. you're a fucking retard. fuck off.
>but it's functional first
Try writing a closure in PHP and not dying inside.
Also, enjoy giving callbacks as functions or always binding them to variables to have something which resembles consistency. Sigils were a mistake.
Oh, and OOP sucks, especially when it's classical. It's merely an euphemism for spaghetti code that will justify hiring more people to maintain.
PHP's enormous advantages in terms of coding speed outweigh the greater inconsistencies by several orders of magnitude, you dumb shill.
>Oh, and OOP sucks
go back to your hype driven development shop too retard.
It's faster and better looking than python, easier to use than verbose java, not corpo-owned like .net and really gets the job done.