[wp-trac] [WordPress Trac] #37699: Death to Globals Episode #1: A Registry, A Pattern

WordPress Trac noreply at wordpress.org
Tue Oct 11 16:51:08 UTC 2016


#37699: Death to Globals Episode #1: A Registry, A Pattern
----------------------------+------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.7
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------

Comment (by dnaber-de):

 Replying to [comment:99 MikeSchinkel]:
 > If for example we deprecating `$wpdb` and doing so were to harm backward
 compatibility or even harm understandability among a significant number of
 the many people who implement WordPress sites but do not understand most
 of the syntax and semantics of classes and methods then optimizing for
 maintainability here could be more harmful than not. ''(I'm not taking a
 side on this one, I am pointing about that pursuing maintainability should
 not be viewed without question as the quest for the holy grail.)''

 FYP. You just say, that people are not willing or able to learn or evolve
 their skills. With this «argument» you can bury any development of
 WordPress core. In reverse that means nothing else than teaching people
 how to write legacy code. This fixes WordPress status as an example of
 »how to do it wrong«. Congratulations. I'm personally done with core
 contribution.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37699#comment:102>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list