Comment on Are LLMs capable of writing *good* code?
adespoton@lemmy.ca 2 months agoI would not trust the current batch of LLMs to write proper docstrings and comments, as the code it is trained on does not have proper docstrings and comments.
And this means that it isn’t writing professional code.
It’s great for quickly generating useful and testable code snippets though.
GBU_28@lemm.ee 2 months ago
It can absolutely write a docstring for a provided function. That and unit tests are like some of the easiest things for it, because it has the source code to work from