#CodeSamples

Miguel Afonso Caetanoremixtures@tldr.nettime.org
2024-10-02

#AI #GenerativeAI #APIs #APIDocumentation #CodeSamples #Programming #SoftwareDevelopment #TechnicalWriting: "Providing code samples in documentation remains one of the most challenging aspects of API documentation. Even so, I’m optimistic about the helpfulness of AI tools to jump-start the process for tech writers. We can leverage code from test apps along with documentation, especially reference documentation, to provide starter code that engineers can then customize and adjust.

However, whether these basic code samples are helpful is another question. They might be mistaken for more valuable application code that would get into the deeper questions about how to design an application and handle the complexities of the developer’s specific business logic, along with questions about purpose, rationale, and design patterns."

idratherbewriting.com/ai/promp

2024-06-26

OWASP also has projects with guidance - as in real code samples and not some of the garbage code samples we're seen from others...

owasp.org/projects/

Kudos to Bill for calling out garbage dev documentation with code snippets and no guidance. Good to see I'm not the only one who dislikes that!

#OWASP #CodeSamples #SoftwareDevelopment

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst