5 ms·
do you still go over the generated code line by line and touchup in places where it did not do a good job?
by mdellavo 5y ago
do you still go over the generated code line by line and touchup in places where it did not do a good job?
- fzaninotto 5y agoIt suggests code line by line, so yes
- mdellavo 5y agoI guess I dont see the point if only 10% of the time it's exactly what you want and the rest of the time you have to go back and touch up the line. Does it train a programmer for accepting less than ideal code because it was suggested? Similar to how some programmers blindly copy code from StackOverflow without modification. Seems like there is a potential downside that's being ignored.
- staticassertion 5y ago> Does it train a programmer for accepting less than ideal code because it was suggested? Similar to how some programmers blindly copy code from StackOverflow without modification. Maybe juniors, but I don't see this being likely for anyone else. I've been using TabNine for ages and it's closer to just a fancy autocomplete than a code assistant. Usually it writes what I would write, and if I don't see what I would write I just write it myself (until either I wrote the whole thing or it suggests the right thing). Of course, barring some variable names or whatever. I don't have it "write code for me" - that happens in my head. It just does the typing.
- corobo 5y ago> I guess I dont see the point if only 10% of the time it's exactly what you want and the rest of the time you have to go back and touch up the line. Think of it as tab complete. If it's wrong, don't hit tab.
- verst 5y agoThis is not true - and I've been using copilot for many months :) It suggests entire blocks of code - but not in every context.
- fzaninotto 5y agoMy bad, you're right. I remember now that it suggested me entire code blocks from time to time. Do you know in which "context" it suggests a block?
- verst 5y agoIt usually suggests blocks within a function / method in my experience. Here's an example I created just now: https://gist.github.com/berndverst/1db9bae37f3c809e5c3f56262c0a1092 https://gist.github.com/berndverst/1db9bae37f3c809e5c3f56262...