7h ago
inJust figured out a trick for getting AI to write better code comments
Which specific AI tool were you using for this? I read something a while back about how these tools often just parrot back the code structure unless you force them to think about the actual goal. Like, telling it "explain why this sorting function is here" instead of "describe this function." Makes it connect the code to the bigger task. I wonder if some tools are just worse at this by default.