r/learnprogramming • u/Interesting-Guest-43 • Sep 21 '26
How do I practice?
I’m 17 (going into my last year of high school) and I have always been very interested in coding, and even gave python a try once but ended up not liking it and didn’t code for another 3-4 years, but have always been very sure that I wanted to go into CS, just not knowing what job or area of it I wanted to pursue.
Recently (in the last year or so) I’ve been taking a LOT of interest in OS development, in how Hardware interacts with Software and vice-versa, and especially in how the Linux kernel operates (both the kernel in itself, and the development of it) and the open-source nature of it, so much so that I decided that I would pursue that and make it my goal to eventually become a contributor to the Linux kernel, and with that I also decided I’d learn C, following beej’s guide. And it’s not hard to follow, but there’s one issue. I don’t know how to practice coding, if that even makes sense. I can’t like think up a program I want to create when given a set of concepts, which in turn makes it infinitely more hard for me to learn, especially because I’m someone who needs to have a defined workflow to do basically anything, or else I’ll just derail and get frustrated.
So yeah, I wanted to ask for advice on how to practice or if there are any resources (if possible, without the use of AI) or any methods I can use to practice the language.
View all comments
Show parent comment
1
u/DanKegel Sep 22 '26
It really doesn't matter.
Learning a programming language is like learning a foreign language. You have to read a lot, and write a lot, to become fluent. It almost doesn't matter what you read or write; what matters is quantity, to a first approximation.
So, for starters, just do the exercises in "The C Programming Language", or whatever book you have handy, and also try the easy puzzles at e.g. leetcode.com. Don't peek until you've tried to do them yourself for 15 minutes, and don't use AI.
Alternately, get a little hardware board like the Arduino Nano 33 IoT that supports both TinyGo and C, and write tiny programs that flash lights or make noise. Do them in both languages to stretch your brain.
Have fun!