News for hackers. Stuff that matters.
Re:I'm Switching to Python and Actually Liking It by wk_end on Wednesday July 16, 2025 @12:07PM (#44583859)
Yes, I'd say Python's crown as the go-to lightweight scripting and web development language was mostly ceded to JS.

It's still reigning champion of data science, and of course it has a huge number of uses and users still around, but it's not really cool or in vogue outside of those circles.

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)
Re:I'm Switching to Python and Actually Liking It by mjr00 on Wednesday July 16, 2025 @12:33PM (#44584214)
> It's still reigning champion of data science, and of course it has a huge number of uses and users still around, but it's not really cool or in vogue outside of those circles.

This is a wild take. You're never going to get a fully accurate measurement but every source I've seen[0][1][2] puts Python as the most common programming language by a country mile.

If it doesn't seem "cool" or "in vogue", that's because everyone is already using it.

[0] https://www.tiobe.com/tiobe-index/ [1] https://pypl.github.io/PYPL.html#google_vignette [2] https://www.pluralsight.com/resources/blog/upskilling/top-pr...

Re:I'm Switching to Python and Actually Liking It by slightwinder on Wednesday July 16, 2025 @12:37PM (#44584259)
Python has never been THE web development language, that's always been JavaScript. Python is one of the more popular server-side languages, and JavaScript has move from frontend to backend in the last decade too. Not sure whether this has really taken the crown of any backend-language.

And what is lightweight scripting? Isn't scripting by definition lightweight?

But Python overall is still very popular outside the Data Science-circles. Not sure where this claim is coming from.