by mdaniel · 4y ago · 0 comments
File fileName =
is off to a bad start, but finishing it with File fileName = new File(path);
is going to get a finger-wag from me when it makes it to PR because it's a very bad variable nameI would find it a more compelling pitch to say tabnine will help me and my teammates follow more general best practices, though I understand how subjective that is.
Do you models incorporate any sort of time-based weighting, where more recent code is weighted more heavily? Seems like that would also help this issue, as more recent code tends to be closer to what we hope future code looks like. But then how do you let best practices evolve over time?