Hey devs! I'm here to share my experience working with GitHub Copilot and ChatGPT as peer programmers.
Prerequisites: In Visual Studio Code, install the "GitHub Copilot" extension and login with GitHub.
Refer CodeRefactor.md for details.
Refer TestCases.md for details.
Refer lib/Regex.js for details.
Refer PatternCompletion.md for details.
Take suggestions from Copilot as first draft, which needs review, specially on following lines:
- Order of complexity
- Security vulnerability
- Solving our requirement or not
Try to modify the prompt, be more specific to get better results.
Use descriptive names for variables, functions and classes.