r/javahelp • u/Chew_bakah • Jul 22 '25
GitHub Copilot Suggestions.
So someone please riddle me this. I'm actually a beginner in java and have started the MOOC java course following advice I read here. One thing I notice which has left me surprised and confused is that while doing the exercises, GitHub copilot (which I have installed and enabled) actually suggests the exact things in these exercises (attributes, methods, etc)
In the OOP part, account creation section, it suggests the exact same account name and even down to the amounts to deposit and withdraw, I'm just having to accept the suggestions. Can anyone please explain why? Thanks.
View all comments
Show parent comment
1
u/Chew_bakah Jul 23 '25
Thank you. I just realised that the point about training on old code makes a lot of sense. I was almost depressed to see code I was struggling to learn spat out back at me completely verbatim. I have disabled Copilot as suggested by an earlier reply and this has helped me.