4 ms·
It works really well if slapping together something vaguely close to correct is good enough. This covers a significant fraction of all programming work.
by Retric 4y ago
It works really well if slapping together something vaguely close to correct is good enough. This covers a significant fraction of all programming work.
- simonw 4y agoIt works great for slapping together something vaguely close to correct... and then iterating on it until it's exactly right. This makes is a fantastic productivity boost if you have the skill to identity and fix any problems with the code it has generated. If you've ever participated in code review as a reviewer you probably have those skills already.
- Retric 4y agoStarting from subtly incorrect code makes it much harder to come to the correct solution. To use a classic example, the A = (B + C) /2 line that fails due to bounds checking issues is quite literally worse than useless because you basically need to understand why it’s wrong before you notice it’s wrong. The eyes just slide over the common idiom thinking in terms of average not what the code actually does. Code reviews most easily reveal a very different kind of error. ‘Why does this code look more complicated than it should be?’ is a great hint that something is fishy. However, chatGPT is basically engineered to pass the smell test not work.
- rakejake 4y agoYeah I am surprised how many people are of the opinion that code reviews are easy. Errors like the one you mention are especially hard to catch unless you know what you are looking for.