3 ms·
That and I bet the generic boilerplate code that co-pilot produces is on average much better than the boiler plate code that the average dev might use. So it r
by boringg 4y ago
That and I bet the generic boilerplate code that co-pilot produces is on average much better than the boiler plate code that the average dev might use. So it removes the lower level work.
- spacephysics 4y agoI think that can surely be the case, but just like any AI there may need to be manual review to asses what is the most optimal way to go about task X, and retrain. I can see this go both ways: boilerplate code being a great generic solution to a set of problems, but a more seasoned programmer may say “that works, but for our use case the trade offs don’t make sense” Or alternatively, “this code wasn’t something I knew I could do in language X, and it’s far more efficient”
- brookst 4y agoIt is. There are a lot of problems with copilot, but one magical thing is the way it rewards best practices like thinking through what a function is supposed to do before starting to write it. If you write a good comment describing name, inputs, outputs, logic, and exceptions, the "generate code from comment" capability is kind of amazing. I'm a terrible, hacky programmer, and it has wholly converted me to documentation-first.
- Cyberdog 4y agoThe only Copilot-type system I'd consider using is one that did the opposite - generated comments from my code, so my lazy butt doesn't have to write them manually.
- brookst 4y agoI hear ya, but I’m a PM so I’m looking at it as spec-to-code. Though I would love to see code-to-comments, especially really opinionated comments.