News for hackers. Stuff that matters.
Re:Learning Go as a Python Developer: The Good and the Bad by mypalmike on Monday July 18, 2022 @10:20PM (#32146783)
I've used npm but an not familiar with these kinds of details of it. There would seem to be some potential putfalls, such as two libraries accessing a single system resource (a config file, a system socket, etc.). I will take a look into this though. Thanks.
Re:Learning Go as a Python Developer: The Good and the Bad by fiddlerwoaroof on Wednesday July 20, 2022 @07:38PM (#32173875)
npm works around some problems like this with a concept of "peer dependencies" which are dependencies that can only be depended on once. The typical dependency, though, is scoped to the package that requires it.