Hacker News new | ask | show | jobs
by vorticalbox 993 days ago
some add what it takes in the DOC string, but even then most don't actually state all the options.
1 comments

Yep, it’s incomplete, and much more importantly not machine readable. These days I want all my code to pass strict mypy. It’s mostly possible and a bliss when it works, but libraries (ab)using kwargs throw a spanner in that. Libraries where everything is kwarg and the docs have to be consulted are a killjoy. And they cause tons of bug from misuse!
These days you want java then! Why are you not using java?
Because compared to the ease of use and readability of python you get 1/10th the work done with 5x the pain in the arse.