Q43: What is 'Comment-Driven Development' when using GitHub Copilot?

Comment-Driven Development involves writing explicit natural-language comment blocks describing required function behavior, inputs, and outputs BEFORE writing code. Copilot processes these comments to auto-generate matching implementation logic.

Key Takeaways
  • Write descriptive comments before starting implementation.
  • Include details like expected parameters, types, and edge cases.
Knowledge Check

What is the primary workflow in Comment-Driven Development with Copilot?