logoalt Hacker News

cachiusyesterday at 10:13 PM2 repliesview on HN

Isn’t unwrapping and commenting just one prompt away?


Replies

StableAlkyneyesterday at 10:19 PM

Assuming the agent doesn't forget or misinterpret anything.

It would be much better to just have a deterministic minification script.

malickatoday at 12:41 AM

… no, you shouldn’t use AI for simple reformatting of code without the newlines. We have syntax parsers and reformatters for this. Use them, then put that into the LLM for commenting, if you really want to.