|
|
|
|
|
by aldavigdis
617 days ago
|
|
I would go as far as saying that PHP has developed into a very good OOP programming language in the past years (from C with dollar signs to something more Java like). Frameworks like Laravel and their ecosystems are actively using modern PHP and utilising the newest PSR standards. The issue is how WordPress seems to be stuck in the ways of the mid-2000's. You can be a "senior full stack" developer in the WordPress ecosystem but you'll hit a wall once you start applying for more general PHP roles as everything from the standard coding style to how classes and namespaces are used are worlds apart. |
|
I once taught someone to make this jump, who was convinced he would never be able to. It is definitely a mindset change but I think a good developer can do it. Especially since these days, class and namespace stuff and Composer dependencies are increasingly common in plugin development.
I love Laravel (especially with Lighthouse) but I think the hooks/actions model in WordPress is underrated in its simplicity and appropriateness for the task.
(I am not a fan of the standard WP coding style, TBH)