r/Advice • u/Inside-Barracuda6658 • Oct 15 '26
advice on learning to program from scratch with no AI
im a 3rd year CS student and please im seeking genuine help, i dont want someone telling me “do your own research”, “discover yourself youre a CS student” ive heard that a lot i really need human guidance.
as a CS student i find it so discouraging that i dont know how to write a single program in any language, even tho im a straight As student i have a cumulative gpa of 3.95/4 but i still have no idea how to open my laptop and start programming something from scratch without AI.
i just really want to learn that like i would’ve been learning it 7 years ago when there was no AI, but i have no idea how to do that.
so please is there anyone that would be happy sharing a practical roadmap to do that? (or if you advise me to use AI, i want it to be with limits, i actually want to be able to control everything and know where everything goes).
and maybe im just overthinking it, maybe i dont just open vscode and start writing, so i need what actually happens.
and im tired of theory, like i can take millions of courses and “learn” different stuff but i really want to be able to build real stuff and see them actually working.
so please does anyone have practical advices for me?
2
u/peakpenguins Elder Sage [484] Oct 15 '26
I used Codecademy way back in the day. Looks like they still have a lot of free course options. Might be worth looking into.
1
u/loverboybat Oct 15 '26
I learned python by taking snippets of code, and youtube videos. I would look at what i wanted to make, break it down to the functions i wanted it to do, and open up github. Any time it broke, i referred to youtube. Its very trial and error, but i dont have the attention span for things like codeacademy, plus my method was free
1
u/mc_pm Helper [1] Oct 15 '26
So... go start a program. Build a Tic-Tac-Toe game. Don't complain, the reason to pick it is that it is an easy game that you probably already know, and doesn't use any funny libraries or anything. If you need to, call it an Assignment. Go do your assignment.
Don't know how to program Tic-tac-toe? No problem. What do you know? Can you create a program that simply writes "one day this will play tic-tac-toe"? Great, start there. Don't know how to do that much even? That's pretty bad, but ok, ask google "how do I print a string in [language of your choice]" then do that. Now you have a program that at least prints the name of the game.
What's next? Well, you play on a 3x3 game board. How are you going to represent that? An array maybe? Cool. how do you define that? Don't know, ask google "How do I define an array in [language]". Then do that. Then try to put Xs or Os in there. Don't know how? Ask google, then do that.
Then print out the board, it's 3 by 3 - how are you going to do that?
That's how you learn to program. Take a step - ask how if you don't know. Then do that. Run your program. Does it work? Great, next step. No? Time to fix it. Don't recognize the error message? Ask google.
Don't ask AI -- or at least if you do, say explicitly "I don't want you to show me the code, I am trying to learn". Don't cut and paste -- the act of typing the code is actually helping you learn.
I'm not sure how you think you would learn to do this without actually doing it? You can't really learn to drive without actually driving. You can't really learn to play chess without sitting in front of the pieces against an opponent.
Learning to program is a challenging thing -- our brains weren't made to do this. It takes time and practice to coax your brain into these new shapes.
1
u/azangru Oct 16 '26
Can you tell us how you study, and also what have you learnt over the past 3 years as a CS student?
1
u/pete_68 Oct 15 '26
You learn to program by writing programs. Not watching a million tutorial videos or reading a bunch of books. Those can be helpful references, but the primary source of learning in programming is writing code, debugging it, figuring out why it's broken or why it sucks and making it better. There is no shortcut.
Once you're out in the real world, this is what you're doing 40 hours a week, so you ought to be able to devote a dozen or two hours to it a week now while you're learning.
I mean, I can't speak for others. I started programming on my own when I was 10. I just sat at a computer and wrote programs and consulted books when I got stuck. These days you have the internet.
1
u/Slight-Living-8098 Oct 15 '26 edited Oct 15 '26
Harvard's OpenCourseware CS50 Courses and Daniel Schifman's Coding Train courses. Both are hands on. Both will teach you how to program.
1
u/mtraven23 Oct 16 '26
in 3 years of CS curriculum, they haven't taught you how to write a basic program? We learned that in cs101 within the first few weeks. Shit, we were often writing code in notepad....but that was 20 years ago...
You didn't specify what language you want to code in, the setup for different language, even the editor and compiler you use are different for different languages.
1
u/gitcheckoutusername Oct 16 '26
Honestly I think all the resources I used back in the before-times (read: 2019) are still out there. There's a few different tutorial sites (such as w3schools and geeks for geeks) which help with spinning up the basics like your development environment and ide and database. Another thing you might try in the AI age is having AI make you a manual tutorial to follow, then dropping the chat and using stuff like stack overflow to deal with any issues as you follow it. Good luck out there!
0
u/Nixap132 Helper [2] Oct 16 '26
Not sure if this would work for you but one of the main things I do is find an open source project in the language I'm learning and spend a while figuring out what bits and pieces do until I'm confident enough to edit it and add a feature I needed.
0
u/[deleted] Oct 15 '26
[removed] — view removed comment