2 ms·
@jakejake Wordpress uses a procedural version of the mediator pattern (just like Drupal's hooks). As I said in my post, just because an application doesn't us
by ircmaxell 15y ago
@jakejake Wordpress uses a procedural version of the mediator pattern (just like Drupal's hooks).
As I said in my post, just because an application doesn't use classes, doesn't mean it's not OOP or borrowing OOP patterns (and Drupal is actually a pretty good example of that).
- jakejake 15y agoI suppose resembles the mediator. I just find it to be really simple even though I don't write code in a procedural style, I appreciate different techniques. I think what makes me an OO snob is that I want the interfaces to be there so my IDE or the compiler/interpreter can tell me if I missed a parameter or didn't return the right type.