zlacker

[parent] [thread] 0 comments
1. phailh+(OP)[view] [source] 2023-05-24 01:22:01
"Assuming equivalent type annotations" is the problem. Can't do it with Python, full stop. If we could, we wouldn't be having this conversation at all! It can't catch any mistakes because its type system is simply not expressive enough. You have to hold the type information in your head and make sure you slice and multiply correctly.
[go to top]