5 ms·
> How often do you catch AI trying to make breaking changes? I think this is the wrong way to think about the problem. The AI isn't breaking your code, the eng
by nzach 2y ago
> How often do you catch AI trying to make breaking changes?
I think this is the wrong way to think about the problem. The AI isn't breaking your code, the engineers are. AI is just a tool, and you should always keep this in mind when talking about this sort of thing.
But I understand some of the problems you describe while using AI. And the way I work around is to never let the AI write more than a few lines at a time, ideally it should just complete the line I started to type.
- codazoda 2y agoThat’s what I used to do but now I think it is a major handicap. I haven’t perfected it yet, but I’ve had good luck letting AI write entire (smallish) programs and do major updates to those.
- Volundr 2y agoI find this fascinating because even using the last models more often than not asking the AI to generate even a test file for a simple module with some controlled state will result in an incorrect test setup that simply won't run, or nonsensical tests that clearly don't reflect what the code is doing. I often use a coding assistant to handle boilerplate for me or write additional tests after I've given it some correct ones to work of off, but when I read accounts like these I always wonder what's different about our experiences that you feel you can give it bigger asks like that.
- abnercoimbre 2y agoWouldn’t fine-tuning make a difference? Granted, majority of HN users don’t invest the extra effort to do this.
- tartoran 2y agoFinetuning is as finnicky as coding it yourself directly. If you already have a toolset why bother with another that is statistically wrong as many times as it is right.
- from-nibly 2y ago100% ownership is required. Blaming AI is a craftsman blaming the tools. The craftsman is the one that buys/makes the tools, and maintains them. Things can not have responsibility only people can.
- sshine 2y ago> The AI isn't breaking your code, the engineers are. AI is just a tool, Teams with CAPS LOCK on their keyboards, HOW DO YOU PREVENT THIS FROM GOING OUT OF CONTROL? (A common trick is to unbind CAPS LOCK forcing developers to hold down shift while typing uppercase letters.)