Re:Nobody's just reading your code
by andrewaylett on Tuesday February 27, 2018 @07:23AM
(#16472799)
What frustrates me about the JS world is that all too often, what you get from NPM is the output, not the input. Maven might not be universally loved, but you do at least get to navigate through the original Java source and stand _some_ chance of finding what you're looking for.
[ Parent
| on HN ]
I don't follow, the code in node_modules is readable and allows to navigate through the original sources. Is it not always the case?
I think they're saying that code on NPM may be written with a bunch of experimental Babel features or in some niche language like Elm, and then translated to vanilla JS. In those cases, you might find code that's been machine translated or minified in node_modules, not the original source.
Re:Nobody's just reading your code
by andrewaylett on Tuesday February 27, 2018 @12:27PM
(#16475656)
Exactly :).