At least, can we stop suggesting using them wrong?
Thereâs a right and wrong way to use AI for learning, but I feel like no one is talking about it. Thereâs a difference between asking ChatGPT for help to understand something and using it to solve your homework. In this articleâŚ
- The right and wrong way to use AI tools
- How to use AI if youâre a coding student
- Why AI should not be used by students (and maybe not even by juniors)
Letâs get something out of the way: Programming is not for everyone.
Similar to other crafts and hobbies, if you donât like it, it will get old. Very quickly. And you will go crazy.
If you donât like programming, simply, donât pursue a career in programming. Donât do it for the money. You will never see a fat paycheck if you donât like programming because if you donât enjoy it, you will always suck at it.
Now that thatâs out of the way, letâs talk to people who do like programming. If you're trying to learn, be careful about how you use AI. At your level, AI should not be used to delegate. It should be used, if at all, to better understand things that might be unclear. If youâre in school, you shouldnât need ChatGPT. You should take advantage of the living, breathing teachers and TAs available to youâthat youâre likely already paying. Relying on ChatGPT when you have access to real-life support is just silly, honestly.
Now, if youâre not in school or donât have access to a mentor, AI tools can be useful, but you need to be cautious: AI tools can really, really hinder your understanding and learning curve.
Programming isnât just muscle memory or repeating the same four tasks in the same exact way for the rest of your career. Itâs developing mental schemes and logical patterns to solve complex, challenging problems. How do you develop this skill?
By making mistakes. By banging your head on the keyboard for three hours just to realize you wrote j++
instead of i++
. Thatâs just an unavoidable part of learning anything. Delegating basic tasks like âwrite a loop to sum all the elements in a given arrayâ because you think theyâre beneath you is just lazy.
You will never learn anything by not making mistakes and by not putting in the crazy effort it takes to learn something as nuanced and complex as programming.
Do you really need to use AI to learn how to code? No. Everyone who learned before the LLM era did just fine. Sometimes, better. And I know I sound like a boomer saying âI got beat up as a kid and I turned out fineâ, but this is just the truth. You do not need AI to learn how to code. Period. Thereâs endless amounts of information and documentation out there you can read.
But AI can be useful in everyoneâs life, or it wouldnât even exist. Most people just need to be educated on how to use it properly.
How to use AI tools if youâre a coding student:
Letâs start with the basics. ChatGPT shouldnât write your code. EVER.
ChatGPT is the equivalent of hitting the suggestion button on your phone until you get a sentence together. Itâs not intelligent; it doesnât think. Itâs mix-and-matching code from the internet and copy-pasting it.
And yes, that might include GitHub repos from other studentsârepositories filled with errors, bugs, and horrible coding practices. ChatGPTâs code is trash, yâall.
ChatGPT is good at summarizing and grouping information about a topic (not always, since it hallucinates a lot), but you should never use it to write your code or do your homework for you. Itâs counterproductive for your learning and introduces the risk of bugs.
If youâre a student doing homework, listen up:
Iâve been a teacher my whole career. Itâs my main gig. And thereâs one foolproof way to tell when someone has copied their homework and put zero effort into it. If we just had a class on for-loops, why is your homework done using ES6 methods? Why is your homework done in Java instead of JavaScript? (Yes, Iâve had that happen.)
Yâall donât fool anyone. We know. đ
Now, letâs discuss how to use AI correctly when learning something new. Hereâs what I do every time Iâm struggling with a new concept:
- Donât ask for a solution; ask for an explanation. Even if ChatGPT gives you the solution anyway, ignore it. ChatGPT often gives a brief explanation of the problem before writing code for you. Read the explanation. Think with your own brain. What does the explanation entail?
- Ask additional questions! Letâs keep the previous example. If youâre wondering, âWhat is an iteration step?â ask that! Curiosity is everything when it comes to learning! You should be curious about the craft youâre learning. If youâre not, itâs likely you donât enjoy it as much as you say. Donât just settle for âChatGPT said so, so it must be right.â Always ask yourself more questions.
-
Never use AI (or not AI) autocomplete tools like Copilot or Tabnine. No. Just⌠no. If youâre learning how to write an HTTP request using
fetch
, you should not be using Copilot to autocomplete it for you. Why? Because to fully understand howfetch
works, you need to at least be able to write it yourself. Iâm not asking for muchâjust type it out. It wonât hurt your fingers, I promise. Also, during your job search you might be asked to do some whiteboard coding, and thereâs no Tabnine to save you then. - Always make sure you understand the explanation provided. If it doesnât make sense, ask for clarification. ChatGPT isnât going to get bored of you asking over and over. If the logic doesnât sit right with you, the code will be trash or wrong. Without understanding the logic, you wonât be able to write good code. So, ensure you grasp the logic and put in the effort to figure it out. Work those brain muscles!
ChatGPT doesnât just mess with your technical knowledge and hinder your learning.
ChatGPT is for your logical skills the same as TikToks are for your your attention span. It f*cks them up.
AI can diminish your ability to think critically, problem-solve, and build resilience in learning. By relying on AI too early, you miss out on the grit and problem-solving process that defines coding. Itâs the same reason you donât want to skip learning how to float when entering a swim competition. The basics and the foundations are essential for building long-term expertise. You need to struggle. YOU MUST STRUGGLE. Itâs supposed to be hard. Itâs supposed to be riddled with mistakes and sleepless nights. Thatâs how you get better.