Re:A Crash-Course in PHP Namespaces for WordPress Developers
by debacle on Monday May 07, 2018 @04:47PM
(#17016356)
It depends on the plugin. Some of these methods are just helper functions for template rendering. Loose coupling isn't going to contribute a ton there, but not polluting the global namespace is important regardless of coupling.
[ Parent
| on HN ]
Re:A Crash-Course in PHP Namespaces for WordPress Developers
by jstewartmobile on Monday May 07, 2018 @05:04PM
(#17016483)
Write enough code, and you will know that "just" is a famous last word.
An actor model approach where one failure doesn't compromise the entire chain would help, but that is hard.