3 ms·
Yesterday I asked chatgpt to write me some boilerplate and it did. I went through the exercise of using it, find some bugs, pointing them out, and fixing them (
by cloverich 3y ago
Yesterday I asked chatgpt to write me some boilerplate and it did. I went through the exercise of using it, find some bugs, pointing them out, and fixing them (with help, or on my own).
Today I asked a similar question and it gave me boilerplate. Then it ran the code. Then it noticed the error, then it fixed it on its own. All without me typing anything at all.
I pointed that out to someone, and they did not appreciate that it has quickly gained the capacity to test if what it says is true, at least in some limited sense. I'm in awe.
At any rate, I think yes, you plug in code and ask it questions and it can answer them, over time answering them better. Since i've been using it not only can it execute code, but can generate test cases and test _data_. I think wrt to legacy code, it could come up with tests and refactoring strategies.
More generally though, AI is coming. And with it, the ability to write better code than even the best of us. That maybe a year or 50 out, I"m not sure. But its coming. And with each passing day, I move the "when" more into my lifetime.