News for hackers. Stuff that matters.
Re:What the Fuck Python by bnchrch on Saturday July 19, 2025 @04:46PM (#44619221)
Thank you! For years Ive been saying the sheer volume and fury by which Javascript is criticized is much more applicable to Python.

Both aren't perfect languages, and both are far from "the best" but it is maddening that Python get often picked as a darling when its implementation, ecosystem and tooling are fundamentally at odds with correctness and productivity.

Re:What the Fuck Python by verbify on Saturday July 19, 2025 @05:00PM (#44619355)
I think people pick on js more because it's the only option for scripting frontend for the web, while if you don't like python there's probably another language that can be used instead.
Re:What the Fuck Python by dreamcompiler on Saturday July 19, 2025 @05:49PM (#44619753)
Unless you're doing AI, in which case you're royally screwed.
Re:What the Fuck Python by orhmeh09 on Saturday July 19, 2025 @08:29PM (#44620787)
You can get by with R and reticulate.
Re:What the Fuck Python by mmasu on Sunday July 20, 2025 @01:06AM (#44622142)
the Python ecosystem for AI is far ahead than R, sadly (or not :-) )
Re:What the Fuck Python by orhmeh09 on Sunday July 20, 2025 @03:12AM (#44622686)
Reticulate is a bridge that lets you use Python from R so that you don't have to suffer Python the language.
Re:What the Fuck Python by socalgal2 on Sunday July 20, 2025 @02:18AM (#44622450)
I'd say people pick on JS because they don't learn it. They jump in, use it like python or C++, get frustrated it's not the same as what they're used to, vow to use it as little as possible. This was especially true before es5/es6 with var function scope and no class syntax.
Re:What the Fuck Python by 0xDEAFBEAD on Sunday July 20, 2025 @03:17AM (#44622707)
The author of this notebook does not appear to agree with you. They describe Python in the beginning as "beautifully designed".

This is not idiomatic Python code. It's code designed to demonstrate Python performance optimizations, through use of relatively obscure Python functionality which exposes details of the internals in situations where you need that.

"its implementation, ecosystem and tooling are fundamentally at odds with correctness and productivity"

You'll need a lot more than just this notebook to argue for that position.