4 ms·
"but why would I spend a hour debugging" So you won't make the same mistake again
by ipaddr 3y ago
"but why would I spend a hour debugging"
So you won't make the same mistake again
- pixl97 3y ago8 months later when I write a block of code like that I'll likely make the same mistake. People tend to learn stuff they more frequently repeat... Unless you're telling us you one shot learn almost everything on a strange defiance of the capabilities of the humans around you.
- ipaddr 3y agoI agree that's why going through the muscle memory of fixing it will allow you to fix it 8 months or 8 years later
- aldarisbm 3y agoI guess youre not really seeing the actual benefits of LLMs. Let's say I dont "learn it". I would have to make the _same_ mistake 120 times for me to actually make it worth it to take the time to "learn" it myself. I'd figure someone somewhat smart, will look at this error and after the 2nd or 3rd time asking GPT, will see a pattern. Its amusing how people become so reductionists with LLMs.
- ipaddr 3y agoIf you have to go through the effort of fixing it once you will likely write code that won't produce that error and you will warn others because of the pain you felt.
- valine 3y agoI never said it was my code responsible for the race condition. ;)