Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #37699, comment 79


Ignore:
Timestamp:
09/04/2016 09:43:52 AM (7 years ago)
Author:
MikeSchinkel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37699, comment 79

    initial v1  
    22> That is ''well-architected'' as it is open for extension – without constantly changing the access layer to the code base as soon as a new object gets implemented.
    33
    4 Is your point that using `WP::get( '<global_state>' )` means that we could easily add any new global state we wanted without having to modify the `WP` class? 
     4Is your point that using `WP::get( '<global_state>' )` means that anyone could easily add any new global state without having to modify the `WP` class? 
    55
    66If so, do you believe that making it easy to add global state to an application is a virtue? Especially when you can do so without any point in the source code where people who know to go and look for documentation about your newly added global state?