this post was submitted on 24 Jun 2024
64 points (94.4% liked)

Programming

17398 readers
244 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

I've encountered this many times where I simply don't understand the context and use of an API based of the API documentation unless I can find an example that already utilizes it in a working project. The first thing that comes to mind is Py Torch. I've tried to figure out how some API features work, or what they are doing in model loader code related to checkpoint caching but failed to contextualize. What harebrain details are obviously missing from someone who asks such a silly question?

you are viewing a single comment's thread
view the rest of the comments
[–] ShaunaTheDead@fedia.io 20 points 4 months ago (2 children)

I do find that everything related to Python is especially badly documented and/or maintained. Maybe I'm just not looking the in right place though? I don't generally use Python as my primary language.

[–] calcopiritus@lemmy.world 6 points 4 months ago* (last edited 4 months ago)

Untyped function definitions + *args + *kwargs + args that can be of many types + strings used as enums don't help. The language that imo needs the most documentation is at the same time the one that lacks it the most.

[–] andioop@programming.dev 2 points 4 months ago

I also don't generally use Python as my primary language, but NumPy has pretty good docs in my opinion!