using AI as a learning tool and not a "write code for me" tool has been a massive enhancement to my education
Discussion
It’s really good at refining existing code. I made it do this for me today and it nailed it first try
https://chat.openai.com/share/c17b726f-0096-4389-96ad-d9cf62810e6e
http://git.jb55.com/nostrdb/commit/122d96589a50bc142f9dc085c707ee8ab779abd3.html
I’ve had a lot of success in making it do test-driven development for me.
I first make it propose which tests I need for the functionality. Then I make it write all the appropriate tests, and then I get it to write the function. Then I tell it which tests fail and get it to debug.
Usually I would get lazy and write just a few tests. I’ve had it write dozens that I would never spend the time to write myself.
I really believe code quality and test coverage is far better than I could get in my own.
Very cool Will.
Ai is a tool for artists and engineers both.