Re:Deno in 2021
by nsonha on Wednesday January 26, 2022 @08:05AM
(#30084941)
this is web dev mindset, in all other languages the module name is just a name, it's not supposed to tell you how to retrieve the module, that's the job of the module system. Otherwise it's the service locator anti pattern. I always find it redundant that syntacically, the module name in javascript has to be a string (as in quoted) for whatever reason. In python and php it's just tokens and namespace separator.
[ Parent
| on HN ]
There are no comments on this comment yet.