top | item 47131190

(no title)

JuniperMesos | 6 days ago

LLMs are great at producing documentation - ask one "hey can you add a TODO comment about the thing on line 847 that is probably not the best way to do this?" while you're working on the port, and it will craft a reasonably-legible comment about that thing without further thought from you, that will make things easier for the person (possibly future-you) looking at the codebase for improvements to make. Meanwhile, you keep on working on the port that has byte-for-byte identical output.

discuss

order

al_borland|5 days ago

If I’m writing that anyway, to tell the LLM, why wouldn’t I just write the comment myself?

ale42|5 days ago

I guess to have the LLM write a lengthy descrption of why the code is bad? Otherwise it doesn't make sense to ask an LLM instead of typing // TODO: bad coding style.