?
I have used GitHub Copilot in my hobby project¡ª it¡¯s javascript and I don¡¯t know the language well, so it often suggests code that¡¯s better than what I would write. It does work with TDD, sort of.
?The main issue is that it will suggest production code that does more than strictly needed for the current test; often guessing the complete function on a single shot.?
Then I have the choice to delete it and write the bare minimum, or to keep it and ask Copilot to write the missing tests.
I can imagine using ChatGPT in the same way that I have in the past
used CodeWars: to read small bits of other people's code as a mechanism
to help me learn a language incrementally, especially its idioms.
I have not yet tried it with any serious effort at building something I care about keeping.
-- J. B. (Joe) Rainsberger :: ?:: ::
Replies from this account routinely take a few days, which allows me to reply thoughtfully. I reply more quickly to messages that clearly require answers urgently. If you need something from me and are on a deadline, then let me know how soon you need a reply so that I can better help you to get what you need. Thank you for your consideration.
--
J. B. (Joe) Rainsberger :: :: ::
Teaching evolutionary design and TDD since 2002