imagine you're writing a comment above the function describing what it does ... now try condensing that into a single descriptive phrase, dropping any unneeded words ... then try to remove ambiguity. verbs are important here (e.g. 'generate' is more descriptive than 'get'). roe.dev/ama #ama
If you have a fediverse account, you can quote this note from your own instance. Search https://bsky.brid.gy/convert/ap/at://did:plc:jbeaa5kdaladzwq3r7f5xgwe/app.bsky.feed.post/3lrofbqbtek2g on your instance and quote it. (Note that quoting is not supported in Mastodon.)