In the age of AI-assisted programming, a ādocumentation firstā strategy makes sense. That is, before you write the code, start with a code comment describing the code.
// The following function takes
// an array of strings and returns
// a new string that concatenates
// the list with an optional separator.
Then let the AI autocomplete the code for you. #programming #ai