DEV Community

Discussion on: What do you think about the future of PHP in general?

Collapse
wherejuly profile image
wj • Edited

Hi Matthew, what disturbs you in WP code style in relation to your own PHP writings?

Using WP global functions in your well OO-descomposed modules is nothing different than using PHP functions. Load wp-load.php in your PHPunit test and enjoy 100% covered codebase. So why WP should change in this context of yours while in fact it is not more attached to your code than PHP itself?

Collapse
matthewbdaly profile image
Matthew Daly

The problems with WordPress are a matter of historical record and I'm not going to rehash them here.

Thread Thread
wherejuly profile image
wj • Edited

I asked the different question. So I understand that there is nohing bad in WP to spoil the good PHP coding of anyone. So that no need to tell WP has to change its code practices in the context of what we discuss here.

Thread Thread
matthewbdaly profile image
Matthew Daly

Mate, I'm not going to explain something as basic as why Wordpress is rubbish. That's what Google is for.

Thread Thread
wherejuly profile image
wj • Edited

I did not ask you what is WordPress. I asked different question. So do not bother. I see you do not have a point.

Thread Thread
matthewbdaly profile image
Matthew Daly

Mate, your question was incoherent.