- I tell the model to create some C++ class with methods. → ok
- Then I tell the model to add a method XYZ() → Gemini returns the whole code including XYZ() → ok
- I tell the model to generate a method ABC() but it should return only the method code → Gemini returns again the whole class code → not ok
- I tell the model that I want only the method code → Gemini returns again the whole class code → not ok
Can you please share more details (code, screenshot etc.) so that we can reproduce the issue?
He means that there are two types of coders:
- One is the lazy coder who wants to return the whole code. That lazy coder just wants to copy and paste.
- The other is the coder who wants to copy modules. That coder doesn’t want the AI to return the whole code; he just wants the AI to return the code he requests.
He means that generating the whole code is great for the first time when he doesn’t have the basic structure of the code yet, but it becomes annoying in later chats when it just returns the whole code while he just wants to make a small modification. Who knows what happens? Sometimes the AI just messes up and introduces new bugs.
1 Like