There are two types of people who use python: those who understand statistics and those who write python.

I’m happy that python basically took over the role once filled by matlab, and I’m happy that it became the leader in AI dev instead of something worse (probably Java if gpt2 had hit 5-10 years earlier).

But you’re right. It’s not fun anymore. It feels more like a pseudolanguage for expressing tensors now, because of the influx.

I’m exaggerating only in feigned outrage. In my actions, I’ve been coding in rust, go, and zig ever since ChatGPT came out.

I think that moment made me value python less. When I think about why, it’s because python became less challenging, and the problem space shrank.

It’s been fun to go back to low-level and remember how computers actually work.

I feel so similar. I love python, I’ve spent most of my career writing it. It’s done well for me. But damn is it just not fun anymore. Runtime errors are not fun anymore. Runtimes are not fun. Virtualenvs are not fun anymore even though uv is trying. Typeless loosy goosy code that passes dictionaries all over the place is just not fun. Rust ruined it for me. Or maybe I’m just bored.

>Typeless loosy goosy code that passes dictionaries all over the place is just not fun.

mypy --strict in CI & don't let dict[str, Any] pass review if the keys are constants, insist on a dataclass or at least a TypedDict.

> & don't let dict[str, Any] pass review

good luck with justifying that before your manager (reacting to complaints within your team, claiming you being a bottleneck).

So just make it a dict[str, str] and json encode the payload.

> There are two types of people who use python: those who understand statistics and those who write python. I’m happy that python basically took over the role once filled by matlab […]

This exactly! Worded charitably, but accurately.

Python is a messy and complex language, full of historical baggage and non-essential machinery. I’ve been working in it for many years, so I’m not new or unfamiliar to it… But I know what a clean simple language looks like (eg.: clojure), so I have much less patience for unnecessary complexity now.

It may be arguably-better than some other popular languages (or MATLAB), but it's easy to find an objectively much better high-level language.