2 ms·
>Now I find this very convenient when I write a new small utility function I stick in in elib1_misc.erl - no mental anguish in choosing a module name is involve
by coldtea 3y ago
>Now I find this very convenient when I write a new small utility function I stick in in elib1_misc.erl - no mental anguish in choosing a module name is involved.
No, just the anguish of navigating 1000 non-namespaced functions for the one you need. We might not need modules, but it's good to have namespaces - and just having metadata that are not part of the name doesn't cover that aspect.
- cryptonector 3y agoThey would be namespaced by "metadata" (tags). You still have to pick tags and/or create nw ones, so it's not necessarily easier than picking or creating modules for your functions. But it might be useful for consumers -- or not, because it might only increase their cognitive load. Still, it's an interesting idea.