4 ms·
Agreed, although I'd really like to throw in type safety, because the lack of it made my life needlessly complicated. Is this feasible with Python?
by nicbou 4y ago
Agreed, although I'd really like to throw in type safety, because the lack of it made my life needlessly complicated. Is this feasible with Python?
- mattficke 4y agoIt’s not enforced at runtime, but otherwise I feel like typing is in a pretty good place in Python right now. If you’re diligent about using Pyright or MyPy as linters it makes life a lot easier.
- bm-rf 4y agoType hints in python also work great with vscode (and probably other IDEs) as it can offer better autocomplete suggestions for things like function parameters.
- gmassman 4y agoType hints in Python are nice, by pale in comparison to truly typed languages. If you want to feel like your language’s type system significantly improves your development experience and the safety of your code, don’t pick Python.
- nicbou 4y agoWhat would be a nice contender for someone who is otherwise happy with Python? I love that I can use it for darn near anything.