2 ms·
It's not a binary choice. You could easily have everything be module namespaced and then then allow module functions to be selectively promoted to method invoca
by Retra 11y ago
It's not a binary choice. You could easily have everything be module namespaced and then then allow module functions to be selectively promoted to method invocation. But really, that's no different from requiring all functions to be methods and then selectively 'demoting' some to be static or class functions instead.