Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do people really turn to JS (instead of Python) for lightweight scripting? Are we talking about the "better Bash" use case?


JS devs do, and there are a lot of them


I use "tsx script.ts" often and it's very nice good due to gradual typing you can use (plus I know lang well)


I mean if its really light weight, and I want to avoid bash, then JS is not too bad. The downside being that the built-ins are not really there compared to Python.

The famous answer.... _it depends_.


that would be very surprising




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: