https://www.fordfoundation.org/learning/library/research-rep...
Anthropic invests $1.5M in the Python Software Foundation
31–40 of 192 posts
Re: Anthropic invests $1.5M in the Python Software Foundation
#32Earlier quoted context omitted.
So add mypy to your pre-commit
All this but none of the performance benefits.
It's pretty great, because you can run it in debug mode where it will assert-fail if your static type assertions are violated, or in optimized mode where those checks (and the code to support multiple types in a variable) go away and instead the program just blows up like a C program with a bad cast does.
Re: Anthropic invests $1.5M in the Python Software Foundation
#33I did not know you could make donations with a string attached ("improve security")...
Re: Anthropic invests $1.5M in the Python Software Foundation
#34Earlier quoted context omitted.
AFAICT Python basically is a [statically-]typed language nowadays. Most people are using MyPy or an alternative typechecker, and the community frowns on those who aren’t.
> Most people are using MyPy or an alternative typechecker, and the community frowns on those who aren’t. That's not like a widespread/by-default/de-facto standard across the ecosystem, by a wide margin. Browse popular/trending Python repositories and GitHub sometime and I guess you can see. Most of the AI stuff released is still basically using conda or pip for dependencies, more times than not, they don't even shar…
I’ve seen it many times. Here’s one of the more extreme examples, a highly-upvoted comment that describes not using type hints as “catastrophically unprofessional”:
https://www.reddit.com/r/Python/comments/1iqytkf/python_type...
Re: Anthropic invests $1.5M in the Python Software Foundation
#35Looking at you Deepmind and OpenAI
Re: Anthropic invests $1.5M in the Python Software Foundation
#36Earlier quoted context omitted.
AFAICT Python basically is a [statically-]typed language nowadays. Most people are using MyPy or an alternative typechecker, and the community frowns on those who aren’t.
> Most people are using MyPy or an alternative typechecker, and the community frowns on those who aren’t. That's not like a widespread/by-default/de-facto standard across the ecosystem, by a wide margin. Browse popular/trending Python repositories and GitHub sometime and I guess you can see. Most of the AI stuff released is still basically using conda or pip for dependencies, more times than not, they don't even shar…
Python typed or untyped feels like a taste / flexibility / prototyping tradeoff; TypeScript vs. JavaScript feels like "Do you want to get work done or do you want to wrap barbed wire around your ankle and pull?" And I say this as someone who will happily grab JS sometimes (for Plus, TypeScript isn't a strict superset of JavaScript, so choice at the beginning matters; if you start in JS and decide to use TS later, you're going to have to port your code.
Re: Anthropic invests $1.5M in the Python Software Foundation
#37Seems like a good time to throw out a reminder regarding "Roads and Bridges: The Unseen Labor Behind Our Digital Infrastructure" by Nadia Asparouhova. While she may have published it in 2016, it's still relevant today and speaks to the need for the private sector generally (looking at you VC firms) to support and understand the open source work, hours of unfunded labor, powering our societies. https://www.fordfoundat…
Re: Anthropic invests $1.5M in the Python Software Foundation
#38Re: Anthropic invests $1.5M in the Python Software Foundation
#39Earlier quoted context omitted.
> Most people are using MyPy or an alternative typechecker, and the community frowns on those who aren’t. That's not like a widespread/by-default/de-facto standard across the ecosystem, by a wide margin. Browse popular/trending Python repositories and GitHub sometime and I guess you can see. Most of the AI stuff released is still basically using conda or pip for dependencies, more times than not, they don't even shar…
> Never had anyone "frown" towards me for not using MyPy or any typechecker either I’ve seen it many times. Here’s one of the more extreme examples, a highly-upvoted comment that describes not using type hints as “catastrophically unprofessional”: https://www.reddit.com/r/Python/comments/1iqytkf/python_type...
Don't read stuff on reddit and use whatever you've "learned" there elsewhere, because it's basically run by moderators who try to profit of their communities these days, hardly any humans left on the subreddits.
Edit: I really can't stress this enough, don't use upvotes/likes/stars/whatever as an indicator that a person on the internet is right and has a good point, especially not on reddit but I would advice people to not do so on HN either, or any other place. But again, especially on reddit, the upvotes literally count for nothing. Don't pick up advice based on upvoted comments on reddit!
Re: Anthropic invests $1.5M in the Python Software Foundation
#40If you missed it, they bought Bun a while back, which is what Claude Code is built in: https://bun.sh/blog/bun-joins-anthropic