News for hackers. Stuff that matters.
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by StavrosK on Sunday January 31, 2021 @11:54AM (#25980157)
But you don't need the libraries to have type annotations for them to be useful to you. You can use the libraries' classes as types, and type signatures are already very useful even if you only use them in your code. I agree that they will be even better when morelibraries declare them too, but I find that type annotations are a huge benefit in my own code either way.
Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by blandflakes on Sunday January 31, 2021 @11:56AM (#25980177)
I think we can agree on that - my point primarily is that:

1. In my own code, they are super helpful

2. I still get really frustrated when I'm calling other libraries (I had this experience when the various typed JSes were fighting it out as well) - in fact for a lot of web-style work that I do MOST of my code is calling a library, which is where I'd get most of the value.

Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac... by StavrosK on Sunday January 31, 2021 @11:59AM (#25980215)
Sure, I agree with that. More libraries supporting types would be great. I don't know why they don't, it's not like they need to support any Python versions that don't support types... I guess most just haven't gotten around to it.