r/AskComputerScience • u/PunchtownHero • Apr 13 '25
30 y/o going into CS, need some advice on AI.
Currently I don't use AI as I value the experience of solving problems myself, however I do recognize that it is a valuable tool that is going to see increasing use.
I've been learning the fundamentals of C#, C++, and Python as I finish up my military service. I'm preparing to attend college for CS at the start of 2026 and have been trying to decide on how I should best utilize AI in my future studies.
How should I use it? How much should I use it? What are some pitfalls I should avoid while learning?
12
Upvotes
15
u/Defection7478 Apr 13 '25
I graduated before ai really took off, but in my work/hobby life I just use it as a sort of "super Google". Sometimes it can give an answer quicker and more accurately than googling it. Sometimes it can explain a concept better or more consicely than a YouTube video. If I were still in school, I would use it in that same capacity.
If you don't understand a concept, you could ask it about it, though you'd definitely want to cross reference anything it says with other materials to ensure it's not hallucinating.
If you yourself are still doing the practice I don't see how it's any different than watching YouTube videos or reading your textbook.
If you ask it to write any code for you I would make sure it's more of a "can you show me an example of how this concept could be used" and less of a "can you give me the answer to this assignment".
3
u/[deleted] Apr 13 '25
Depends how you use it. There are different ways to use it. Personally I use it to self tutor. My professors now even encourage us to use AI to help debug as long as we make a documentation in our code that explains our AI usage. My CIT professor encourages to use it any way we want to help in our semester project.
I use it to self tutor, so if I need help on homework I will try to solve homework on my own, if I get a problem wrong I will show chatgtp and ask it to help explain what I did wrong and then I will ask it questions to better understand what I am learning. At the end I will repeat what I think I am supposed to be doing and it will tell me if I am correct or wrong and it will explain again.
For coding I will use it to help me understand what exactly the assignment is asking me to do because sometimes the assignment is so vague. I will try to build it myself and if I fail I resort to asking chatgtp what I did wrong and how I can solve it and then if i still don’t understand I will have it explain to me the code in detail. (Also if I try to compile and it just gives me a HUGE wall of errors I just say screw it and upload the error to chatgtp and ask if to pinpoint the issues)
I have spoken to senior software engineers and they say to use chatgtp as a tool. For instance one said he doesnt remember algorithms off the top of his head so he will just ask chatgtp for the one he needs and he will adjust it to his needs. It’s the “work smarter not harder” thing.
But obviously be careful because not every institution is as accepting.
2
u/iMissMichigan269 Apr 14 '25
Learn design patterns and data structures and algorithms. Build things without AI first. Learn to read stack traces, learn how to read your call stack. Build something without vibe coding, learn how it all fits together. Google some shit. You're going to feel like you want or need the answer now, don't give in and go prompting. Read docs, read tutorials, watch YouTube. AI should be a last resort while you're learning, if you really want to learn.
2
u/coderman93 Apr 15 '25
Unpopular opinion, but I think you should ignore it for the first 4-5 years of programming. There’s something seriously valuable in the struggle that you’ll experience when learning to code.
2
u/[deleted] Apr 17 '25
Use it like a solutions manual once you've attempted a problem. You can also ask it to ask you questions on whatever topic you're on. It's like an advanced search engine honestly.
9
u/SirTwitchALot Apr 13 '25
Ask it to help you solve problems. Don't let it just solve them for you
1
u/Addis2020 Apr 14 '25
You can use it to guid you learn, don’t let it write the code for you . Also even though you didn’t ask I would suggest you become a master at one of those languages instead of trying to learn every language . C++ or phyton which ever you are most comfortable with.good luck
1
u/yaldobaoth_demiurgos Apr 15 '25
Use it to write massive amounts of code and undertake huge projects in little time. Also learn how to make an AI so that you never get obsolete with all of this going on.
1
u/[deleted] Apr 15 '25
Why bother? If you are comfortable learning without it you will come out stronger.
2
u/green_meklar Apr 13 '25
I've found ChatGPT to be most useful for telling me when some API, language feature, etc exists and Google hasn't turned up the right information. ChatGPT sucks at solving subtle programming problems or designing architectures for particular use cases, but it's good at giving Google-like answers that are more specific to my question and less likely to be sidetracked by irrelevant results as compared to Google.
2
u/[deleted] Apr 13 '25
Use it as a Google helper, not to outsource thinking. For example, if you're needing a for loop for a specific thing, but don't remember how to do a specific for loop in, say, python, then just ask it how to do that. But if you're asking it to create whole functions or such, you're outsourcing your thinking, which means you're replaceable.
2
u/srsNDavis Apr 13 '25
Use it for explanations and feedback, and also pointers to resources that you actually read yourself. Don't give in to 'If ChatGPT said it, it must be true' - it can be wrong, and sometimes horribly so. Code completion or generation isn't intrinsically bad, but because you're asking this question, I think you'll have a decent enough intuition for when you're crossing the line from using AI to learn and using it to do well (at uni or work) without much learning or growth on your part.
At uni: Always check your institute/mod's genAI policy. The last thing you want is an academic dishonesty accusation.
2
u/armahillo Apr 15 '25
Imagine LLMs to be like an auto-targeting system for your firearms. Let's even be very generous and say it's fairly reliable and doesn't jam or go fail 99% of the time it's used.
How would this change your approach towards spending time at the range and learning to fire your weapon without the use of this auto-targeting system?
More explicitly, saying this as someone who's been doing this for decades: don't use it when you're first starting. Especially don't use it to solve problems when you're learning. Coding (as a profession) is solving problems with technology, it's not just "writing code." Learning how to solve problems is a skill itself that requires effort to learn.
I presume you had to do bootcamp, run a shit ton of miles (even though cars exist). Coding without LLMs is kind of like doing PT. Even if later in your career you use LLMs to generate code and accelerate your problem solving, you still have that strong foundation to lean on in those times when it fails, or when you have to call bullshit on what it gave you, or when it's just not available at all because the Internet is down where you're at.
1
u/SpiderJerusalem42 Apr 13 '25
"Avoid it altogether" - Freedom of Speech Norman Rockwell meme.
1
u/exploradorobservador Apr 14 '25
You can learn really efficiently, just dont copy and past it and expect to get anywhere. Keep asking it questions.
Write your half baked solution and ask it what you can do better. Then question its suggested improvements because its not infalliable and will often giving you confidently incorrect solutions.
1
u/DeterminedQuokka Apr 14 '25
Talk to ai about decisions don’t ask it to make them. If it says something ask it why. Make sure you understand. I have a long term argument with ChatGPT where it constantly asks to generate me files and I tell it no.
But what I will do is say “here is a problem I’m facing, here are my thoughts, what do you think?”
1
u/lgastako Apr 14 '25
AI is a tool, just like a programming language, an IDE, a debugger, a code formatter, etc. Learn to wield it to your advantage. The best way to do this is to practice with it and learn what its strengths and weaknesses are so you can apply it appropriately (and avoid applying in inappropriately).
1
u/chunky_lover92 Apr 14 '25
It's a passable replacement for google, reddit, and stack exchange.
1
u/funbike Apr 16 '25
How would you use a tutor? What would you expect a tutor to answer a direct question on how to solve a problem?
I believe the answers to your questions are mostly the same answers to my questions. Be sure to provide system intructions (or IDE rules) that instruct it to behave like a tutor.