Re:Deno 1.0
by fiddlerwoaroof on Thursday May 14, 2020 @04:58PM
(#23185346)
Yeah, this sort of "dependency injection" scheme is better than having random files depend on third party packages anyways: it centralizes your external dependencies and it makes it easier to run your browser code in node or vice-versa: just implement `lib-browser` and `lib-node` and then swap then out at startup.
[ Parent
| on HN ]
There are no comments on this comment yet.