|
|
|
|
|
by lcnPylGDnU4H9OF
673 days ago
|
|
Do you have an example of such comments? Maybe I'm wrong but I get the feeling that AI-generated comments would be mostly along the lines of beginner-level comments: // Don't do this if there's more than 1
if (foo.length <= 1) {
foo.bar;
}
Comments which are helpful usually explain why something is done. That's usually to accommodate specific business rules which the AI isn't likely to know about at this stage. // This is due to a change Accounting requested because ...
if (foo.length <= 1) {
foo.bar;
}
|
|