What is Nostr?
Filippo Valsorda :go: /
npub1whz…kn2m
2023-10-23 18:10:50

Filippo Valsorda :go: on Nostr: I don't understand why AI is being used to generate code instead of flagging ...

I don't understand why AI is being used to generate code instead of flagging potential bugs.

Like, I just spent an hour debugging this

for i := 0; i < n; i += 2 {
x := uint32(f[i]) | uint32(f[i])<<12

I am almost sure a ML model could tell that's likely wrong.

It's also much lower-stakes: if it's wrong it wouldn't be introducing any bugs, just making me dismiss a suggestion.
Author Public Key
npub1whzyg92c6fsvpjjcnn504z0a2pfwenctp872sgmedqg2np4drj8qwakn2m