534
Everytime (lemmy.world)
submitted 11 months ago by mod_pp@lemmy.world to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] palordrolap@kbin.social 3 points 11 months ago* (last edited 11 months ago)

The last I saw, AI models were very good at explaining what code did at a very superficial level, but not why it's doing that or why it's written that way.

I assume it's gotten better at that since then. (?)

e.g. They'd be able to write comments for x = 0 along the lines of "set variable x to 0" but not why it's being done or even why it might be a good idea.

Deeper question: What can AIs do with obfuscated code? Can they pick that apart and explain it? What if it's regular code with misleading function names?

this post was submitted on 25 Oct 2023
534 points (97.3% liked)

Programmer Humor

32215 readers
18 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS