Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #32103, comment 23


Ignore:
Timestamp:
10/03/2015 02:18:43 PM (11 years ago)
Author:
wpweaver

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32103, comment 23

    v2 v3  
    3636
    3737So what should be a order(N) algorithm has needlessly been turned into an order(N-squared) problem.
     38
     39This is, I think, an unintended side effect of a normally elegant Object Oriented solution. The creation of all those objects (600 for my example) is easy, but the long standing WP filter tool is inherently a static, traditional solution, and was never designed, really, to create 600 instances of an essentially identical filter.
     40
     41I find this an interesting example case of a problem with OO. And I literally wrote the book on OO (well, a book). Just FYI, I've been in CS for 40 years, including teaching CS at the university level for almost 20 years, and am building my theme as a sort of retirement activity. So I do find this particular problem a bit of an academic exercise.