Hacker News new | ask | show | jobs
by IshKebab 796 days ago
Same for me. Mainly due to the packaging fiasco (and to a lesser extent, imports).

The actual language is not awful. Some features are even nice, like infinite precision integers by default, and separate / and // operators.

Language is ok. Setting everything up is atrocious.

The other quite annoying thing is that the docs are extremely badly organised so Google rarely points you directly at what you want. Instead you get stuff like w3schools which is trash, but much better organised. Also annoying that the docs still don't include types.

I would use Typescript (via Deno), Go or Rust instead. There are some other Python replacement languages I haven't tried yet that might be an option like Mojo, Lobster, Nim. Probably still too niche for production; I'd stick with Typescript.

2 comments

Pixi.sh has been great for me so far, it’s a single binary install that can install Python, conda packages and PyPi packages, maybe give it try!
Looks nice but I can't really require the whole team of like 100 people to use this quite niche tool.

Python needs an official solution.

poetry with poetry2nix with nix flakes will do magic in terms of setup.

if stick with pyright(inference) it is as modern as rust.

python speed increases heavily in all directions.

> poetry with poetry2nix with nix flakes will do magic in terms of setup.

I'm sure, but it also sounds like it will take about 2 weeks of reading manuals and learning Nix before I'll get to the same point as Rust and Go start at.

And that's not really an option for big teams, which is the only situation where I'm forced to use Python anyway.