Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
jonii26264yI don't hate it, it's often just used for stuff it isn't supposed to do, which makes a great, messy, vulnerable und weird website.
A blog platform that got forced into an ecommerce platform and a theming nightmare with more plugin dependencies then a fucking NodeJS application.
It’s insecure if not kept up to date, and you heavily rely on 3rd party’s to not only keep their shit clean and efficient but secure as well and constantly updated.
So Wordpress as a platform encourages the worst coding practises I have ever seen or have had to do in my life. Random blocks of code everywhere and no idea what the fuck any of it actually belongs too as plugins can alter the code base directly rather then just work independently as a proper module.
wolfman44394y@mrtn haha.. :D
Everyone hates something here!
And don't forget you are a programmer...we always have something to bitch about!
demiDev6764yIt's built in php.
Isn't this enough?
Root826524yWordpress is communism trying to be productive/competitive.
Shit don't happen yo.
@demiDev PHP is perfectly capable of doing virtually anything any other language can, it just gets abused by devs who have no idea what they are doing, and is the “go to” server side language for website beginners.
If you replaced the PHP market share with Node, Python or even Java you would still have the same problems, it just wouldn’t be PHP receiving all the criticism.
Because it's widely used and is open source
Which means everyone adds his/her two thousand cents to it.
That's why upon adding themes and plugins and other wpHooks to the core, it creates the Guinness Book of World Record Holder SPAGHETTI 🍝
Hence the hate.
@demiDev so what if it’s ugly?
Be a good coder and make it clean.
I get that PHP isn’t the nicest thing to look at when you come from C# but their are PSR standards to combat the mess that is easily created and sticking to OOP really helps a lot there as well.
You can in PHP7+ also declare the return types on methods which was something that always bugged me in the earlier versions.
As for being powerful, that’s a broad statement, what about it isn’t powerful for you?
PHP can run as CLI tools, be used for dynamic websites, through to large scale ecommerce (I’m not talking Wordpress here) and be the backbone for API layers.
I can even control my damn TV with PHP using sockets.
Honestly I haven’t found a use case outside of machine learning that PHP wasn’t able to handle.
If you want fast data processing, php isn’t for you, although in saying that, you can speed things up using multi threads and having the multi thread safe binaries.