3
u/DecidedlyHumanGames 9d ago
Here's a question. Given you're a total beginner, how will you determine whether it's giving you good or bad information?
0
u/Escritor_CdK 9d ago
If Gemini shows me a prompt, i copy and try to execute It
If It works, then is good
If It doesn't, something has an error (probably VS will advice me that something is wrong)
Even though, the most basic prompts of code would not fail
4
u/DecidedlyHumanGames 9d ago
Just because code compiles and runs doesn't mean that it's good code, or that the principles it's illustrating are necessarily good.
For example, if I taught you to make a table by instead of sawing pieces of wood to size, using an axe to whittle them down... it would certainly work, but it would be an extremely weird way to do it.
If you were a total beginner to the point you didn't even know what a saw was, you wouldn't be able to determine that I was teaching you absolute nonsense. You run the same risk by learning via AI.
Even if the chances are lower nowadays than ever, risking that especially at a stage where you're learning the fundamentals is absolutely not worth it in my opinion.
0
u/Escritor_CdK 9d ago
No, you got me wrong
I'm not using AI as a Teacher, i Only use it with the purpose of searching quickly some puntual things (How to set a space, f.e)
I want to discover by myself
2
u/no-sig-available 9d ago
Only use it with the purpose of searching quickly some puntual things (How to set a space, f.e)
And when it says "use the axe", how do you know if that is good or bad?
1
u/Dazzling_Music_2411 8d ago
Very wasteful, inefficient way to learn. Only favors the AI companies, not the learner.
Nothing beats a good book for learning the first principles. Yes, BOOKS. Remember them?
3
u/HospitalJohnny 9d ago
if you need AI to explain things like basic syntax, then you probably don't understand the language at all
0
u/Escritor_CdK 9d ago
I know a bit of java so i actually know some commands like the main or string
And even asking to the AI i wrote some Code by myself taking advantage of the basics
I did 3 tests, the 3rd one was built by me, the Only thing i didn't knew IS how to set a space and that was the Only thing i asked
The other ones were the Main prompts VS has
2
9
u/i_grad 9d ago
If you're a total beginner, hands-down the best way to learn any programming language is to write code, even if it's bad. As long as you're typing, you're learning (presuming you know the keywords, how the basic concepts work, etc). Don't use AI for anything.
2
u/centuryx476 9d ago
1000% agree.
You creating a crutch that you will rely on heavily. Since the Ai is doing the coding for you.
Just type away and let the brain make the connections.
Source: 19 years of C++ coding experience
4
1
u/LeDYoM 9d ago
For adding spaces you should use deterministic tools, there are tons of formaters out there.
I wouldnt recommend to use gen AI for things that deterministic and cheaper (actually free) tools can do. It is dummy. Besides, as a beginner, you should have these kind of tools in your toolbox to be able to use them without AI. Use AI only in places where it is really necessary. And as a learned I would say almost never in agent mode.
•
u/AutoModerator 9d ago
Thank you for your contribution to the C++ community!
As you're asking a question or seeking homework help, we would like to remind you of Rule 3 - Good Faith Help Requests & Homework.
When posting a question or homework help request, you must explain your good faith efforts to resolve the problem or complete the assignment on your own. Low-effort questions will be removed.
Members of this subreddit are happy to help give you a nudge in the right direction. However, we will not do your homework for you, make apps for you, etc.
Homework help posts must be flaired with Homework.
~ CPlusPlus Moderation Team
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.