> The reason the JS library is slimmer than Pythons is because it's mostly a client-side language.
This comment is a bad argument. The web API in the browser is substantial, from USB communication to XML parsing.
None of that is shipped with Node.js directly for instance.
The problem is not the Javascript spec, the problem is that one has to download a package to parse XML with Node.js. Node.js standard library is too barebone.
You don't have to do that in the client. You have loads of web API, perhaps more than Python's standard library.
> Web API is sandboxed with a permission model in the browser.
And? your comment has absolutely nothing to do with my point which is that JS in the browser has access to a huge standard API compared to Node.js which relies too much on third party packages, unlike Python or Go.
This comment is a bad argument. The web API in the browser is substantial, from USB communication to XML parsing.
None of that is shipped with Node.js directly for instance.
The problem is not the Javascript spec, the problem is that one has to download a package to parse XML with Node.js. Node.js standard library is too barebone.
You don't have to do that in the client. You have loads of web API, perhaps more than Python's standard library.