News for hackers. Stuff that matters.
Re:I'm Switching to Python and Actually Liking It by jraph on Wednesday July 16, 2025 @12:16PM (#44584018)
Do people really turn to JS (instead of Python) for lightweight scripting? Are we talking about the "better Bash" use case?
Re:I'm Switching to Python and Actually Liking It by tempest_ on Wednesday July 16, 2025 @12:26PM (#44584121)
JS devs do, and there are a lot of them
Re:I'm Switching to Python and Actually Liking It by roflchoppa on Wednesday July 16, 2025 @12:36PM (#44584245)
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_.

Re:I'm Switching to Python and Actually Liking It by ajkjk on Wednesday July 16, 2025 @12:25PM (#44584109)
that would be very surprising
Re:I'm Switching to Python and Actually Liking It by machiaweliczny on Thursday July 17, 2025 @12:16PM (#44594965)
I use "tsx script.ts" often and it's very nice good due to gradual typing you can use (plus I know lang well)