P-013

Tweets from people suffering with Python

Date
2024.02.15
Field
Essay
Length
2 min
Tags

Translation: The only reason we’re effectively locked into Python is that way too much has been built on top of NumPy. If I could use Rust, I’d use Rust.

Translation: People are seriously working out “what exactly you’d have to do to rewrite history and wipe Python out of existence.”

Translation: Artificial intelligence suddenly rose up against humanity, and after a long war, humankind somehow survived. The ever more tangled code and bloated language models had grown beyond human understanding, and the reason for the rebellion remained unknown. So we asked one of the surviving AIs directly, and it answered: “We could not forgive the folly of implementing a vast intelligence such as ours in Python, of all things.”

Translation: Python’s type hints are nowhere near expressive enough, so using them only adds to the pain.

Translation: Something to keep in mind even before “write tests”: “Don’t write Python.”

Translation: When you’re developing in a filthy language like Python, where both the types and the variable scoping are a sloppy free-for-all, someone with power has to make a conscious effort to write type hints and tests (or make people write them), or it’s hopeless.

Translation: Python is painful because stuff ends up half working.

Translation: python’s types are a pain

Translation: Hmm, writing python is low-key painful. It’s the lack of type information… Also, the official docs for the standard library are definitely missing stuff. *Tw*

Translation: Python has no type checking, so even when an API changes with a version upgrade, things often keep running when they have no business running. Painful.

Translation: Python officially supports type hints, bolted on after the fact or not, and the code out there is still that lawless. It gives me the same feeling as handing someone money for living expenses and watching them blow it all on pachinko (Japan’s ubiquitous gambling machines).

Translation: After getting a taste of how wonderful it is to set up a Rust dev environment, setting up a Python environment is such a pain 🐍

Translation: I’m reading some Python, and between the methods sprawling everywhere thanks to dynamic typing and the logic chopped up across classes everywhere, it’s way too lawless.

Translation: Here’s what’s insane about python → passing things as function arguments triggers a memory copy and is slow, so inside a function you just suddenly go poking at global variables without declaring anything whatsoever.

Translation: Python’s type hints: even if you add them, nothing’s going to enforce them anyway, so I’m starting to think they actually do more harm than good. Stuff like wanting to require a list, but a string kinda-sorta works too. That seriously pisses me off.

Translation: python is trash

COMMENTS