re: Python's type hints VIEW POST


I'd never seen them before! And I've been using Python for a while already! Doesn't look very 'pythonic' IMHO, but it's definitely nice for everyone down the road


I feel like it’s one of those things where python ramps into the complexity you need. If your project is small or functions are simple, you can probably leave it off. But when you get to a point where you’re going “boy, something weird is going on. It would be nice to get some type hints,” it makes it relatively easy to add it in and get that extra help. 😁

code of conduct - report abuse