3 ms·
> Javascript can't access the file system No, code running in a browser can’t access the file system, because browsers don’t expose an API for that. Other JS e
by dragonwriter 5y ago
> Javascript can't access the file system
No, code running in a browser can’t access the file system, because browsers don’t expose an API for that. Other JS environments (e.g., Node, Windows Script Host, etc.) have different capabilities. A CLI app based on JS almost certainly isn’t targeting the browser, so browser limitations that don’t apply elsewhere aren’t relevant.
> Python seemed like a far better choice until they abandoned 2.x because of their Unicode fetish.
I’ve done plenty of CLI tools with Python, both 2 and 3, and its definitely not worse for that purpose now than it was with 2.x.