486
you are viewing a single comment's thread
view the rest of the comments
[-] 2ez@lemmy.beyondcombustion.net 1 points 1 year ago

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.

this post was submitted on 03 Aug 2023
486 points (99.4% liked)

Programmer Humor

19454 readers
770 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