Comment by geysersam

1 year ago

What's wrong with being extremely permissive? I'd argue that's a strength of the python ecosystem. It's true that very dense api:s are difficult to type, but I wouldn't say they're typically poorly designed because of it.

When you’ve got to pass in something that isn’t permitted and the list of things that is permitted isn’t documented you’ve got to dig 12 levels down into the library across 9 branching paths to figure out what input it actually does support.

Permissive libraries violate the "one and only one obvious way" philosophy.

I suspect they probably confuse AI tools more than restrictive APIs too, and give non-AI auto complete less to go on.