Email or username:

Password:

Forgot your password?
Linus

Every time I look at CPython's `Lib/` I'm confused how they let it become such a mess, stylistically - I get that a lot of it has grown organically over the years, but that's not what production grade Python code should look like 😬

1 comment
Linus

Bare minimum for any large-ish modern Python codebase, and they do *none* of this:

- Pick a code formatter, run it on *everything*, and enforce through CI
- Actual type annotations instead of maintaining a huge pile of `.pyi` files
- Ban percent-formatting, limit use of `.format()`, embrace f-strings
- PEP8 conforming names, I'm begging you

Go Up