It's heading in a positive direction. The language itself is seeing some very significant performance improvements, as well as some changes that make it easier to write more robust applications- I'm looking forward to typed properties in 7.4. More developers are starting to write proper tests too.
Unfortunately, the legacy of those earlier times is still with us. Many code bases have no tests at all, and have all kinds of messy code. And WordPress really needs to get it together and stop writing PHP like it's 2007.
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?
The problems with WordPress are a matter of historical record and I'm not going to rehash them here.
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.
Mate, I'm not going to explain something as basic as why Wordpress is rubbish. That's what Google is for.
I did not ask you what is WordPress. I asked different question. So do not bother. I see you do not have a point.
Mate, your question was incoherent.
Personally I like where it's going. They seem to be cleaning up the language. This will help a lot for new programmers looking for a great back-end language to learn.
I like the fact that we get procedural and object oriented options when programming. It would be even better if all the functions where available in both ways.
I hope the language keeps moving forward in the future.
Maybe we'll see a new framework rise and dethrone WordPress?
I'd say the future is safe and solid, if stagnant. PHP is definitely not the first choice of developers these days, and it's hard to ignore the mind share Node has cornered. PHP will definitely remain popular, but mostly due to established systems like WordPress, Magento, etc. This will have a positive side effect of these developers branching out into MVC frameworks, but I doubt new developers will want to take up PHP as a career choice.
That said, as time goes on and good PHP developers become rare (they already are), it'd be a good chance to make good money. 🤯
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.