this post was submitted on 03 Aug 2023
491 points (100.0% liked)

Programmer Humor

19471 readers
1524 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Sheltac@lemmy.ml 27 points 1 year ago (7 children)

Because things keep changing and no one ever updates any docs or guides.

If using docstrings/docblocks to generate SDK documentation, adding something like an OPA policy to validate their existence and semantic structure could help with coverage. Then we have the issue of accuracy, and that needs humans or AI to weigh in. I have a feeling test-driven development would make this process smoother.

You could also add git hooks to facilitate accountability / run the policies.

load more comments (6 replies)