News for hackers. Stuff that matters.
Re:Plain – a web framework for building products with Python by sroerick on Saturday March 29, 2025 @01:25AM (#43512999)
That makes sense! My personal feeling is that a web framework is not the right place in the stack to introduce typing.

There’s also probably an argument to be made that part of the reason for Django’s “batteries included” success and wide adoption is in part because it is built on an untyped language.

I get wanting both, though.

In my own work, I find most of the benefit of static types to be ensuring correctness at compile time, so I just don’t expect that in Python. I also have just not lost that many cycles to type errors. But I know some have strong preferences here.

Re:Plain – a web framework for building products with Python by 9dev on Saturday March 29, 2025 @05:06AM (#43513971)
The main benefit in the developer workflow is autocompletion and feature discovery in the IDE. Having to guess which methods and properties an object exposes, or jump to the documentation every time, is really frustrating. Compare that to e.g. Typescript, which excels in this area.