Re:Why Today's Python Developers Are Embracing Type Hints
by chpatrick on Sunday September 28, 2025 @07:05AM
(#45403444)
I went from mypy to pyright to basedpyright and just started checking out pyrefly (the OP), and it's very promising. It's written in Rust so it's very efficient.
[ Parent
| on HN ]
Re:Why Today's Python Developers Are Embracing Type Hints
by mcronce on Sunday September 28, 2025 @07:24PM
(#45408956)
You know you can just use a compiled language with statically checked types, right?
Re:Why Today's Python Developers Are Embracing Type Hints
by chpatrick on Monday September 29, 2025 @10:55AM
(#45414602)
For the kind of work I'm using Python for (computer vision, ML), not really. The ecosystem isn't there and even when it's possible it would be much less productive for very little gain. Typed Python actually works quite well in my experience. We do use C++ for some hand-written things that need to be fast or use libraries like CGAL, but it has a lot of disadvantages like the lack of a REPL, slow compile times and bad error messages.