Re:GitHub Copilot Loses an Average of $20 per User per Month
by zarzavat on Tuesday October 10, 2023 @10:36AM
(#37832674)
I disagree. I have both but I use Copilot a lot more. Editing the results of ChatGPT takes as long as it would take for me to write the code myself. Whereas Copilot is autocomplete, you can choose whether to accept it or not line by line.
[ Parent
| on HN ]
Re:GitHub Copilot Loses an Average of $20 per User per Month
by prattcmp on Tuesday October 10, 2023 @10:32PM
(#37840250)
Are you using ChatGPT 4 or 3.5? GPT 4 is phenomenal.
Re:GitHub Copilot Loses an Average of $20 per User per Month
by zarzavat on Tuesday October 10, 2023 @11:00PM
(#37840392)
How are you prompting ChatGPT such that you get useful results in a real world code base? It doesn’t have any context. The context is what makes Copilot work.
By default, ChatGPT can only give a generic answer. Do you just paste the entire file in there?
For example let’s say I want to write a function foo() that calls functions bar() and baz() defined in the same file and uses a library Y that I already imported. If I just write the name of the function, Copilot will often autocomplete a reasonable body for me. If I wanted to use ChatGPT then I would have to first tell it about foo() and bar() and the dependency on Y, and by the time I’ve finished telling it about all of that I could have written the function by hand twice over.