[wp-trac] [WordPress Trac] #36335: Next generation: core autoloader proposal
WordPress Trac
noreply at wordpress.org
Mon Aug 29 23:35:02 UTC 2016
#36335: Next generation: core autoloader proposal
-----------------------------+------------------
Reporter: dnaber-de | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 4.7
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+------------------
Comment (by iamfriendly):
I'm not sure it's about catching/preventing all of the instances of
someone doing it wrong. It's about setting a precedent and, possibly more
importantly, setting expectations.
Ultimately, this has a potential to break a lot of things, very quickly
and very badly. (Please note I am very pro this change, I'm just urging an
abundance of caution). One mis-step can lead to developers going down a
winding path without us really realising it. This can end badly for the
user. (See the shortcodes API changes last year, which admittedly was a
necessary change to a feature and this is more architectural, but the
point stands).
There are currently many ways to override core pieces (in a doing_it_wrong
fashion) but that doesn't mean we should simply ignore that and give
developers another chance to shoot themselves and their users in the foot.
I'm +1 for the addition of a branch which would allow us to really hammer
this and see what breaks in a lot of scenarios. It (probably) means a
slower inclusion into core, but it sure as heck gives us a real chance to
see what's happening and also can give developers a chance to test and
test again. It also gives us a way to compare and contrast items like
speed and memory usage.
I truly believe that, when merged, this will be one of the biggest, most
positive changes to WP in a long time. I'm so glad we're having this
conversation and hashing out all of the ways we can get this done, to get
it right.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36335#comment:129>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list