3 ms·
Nobody said don't add examples. Just don't do it before creating proper API docs.
by sfn42 1y ago
Nobody said don't add examples. Just don't do it before creating proper API docs.
- scubbo 1y agoThat's on me - I over-focused on the leading sentences/paragraphs of the replies ("Please don't follow this advice [that examples are the best documentation]"), and missed that the first comment had "Also having examples is fine, but they should be considered a bonus" in the last paragraph. You're right!