Replies: 1 comment 5 replies
-
Definitely agree in the use of namespaces and hope it paves the way for far better auto-loading in the WP future. Since this is aimed at core, do you know what the current state of namespaces is in core? Would this potentially be a problem later on when this is pitched for core? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looking at the current PHP skeleton, we are using prefixes rather than namespaces for class and function names.
While there may be some value to having some functions in the global namespace, in line with the project goal to take a more modern approach to development I would like to update this to use namespaces, along with a more robust approach to inline documentation.
E.g.
becomes something closer to
Beta Was this translation helpful? Give feedback.
All reactions