@DeveloperMemes But you need to feed it a lot of data to train on, which means you need to show it what code and then the comments that should go with it.

The issue is the comments that should to with the code...
They are difficult to find if not non-existent entirely.

Follow

@finlaydag33k yeah, the really helpful comments tend to be things like "this method is required by PEP-XXX" or "this weird syntax should be retained because it was micro-benchmarked as faster than the obvious ... and this code runs several times in our server (see [repo])", things that the machine couldn't figure out because it isn't determined just by looking at the code. Probably the smartest thing a machine could do at this point is ask the human, "hey, why would you do this weird thing, human? Leave a comment, maybe?"
@DeveloperMemes

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.