r/learnprogramming • u/Careless_Addendum336 • 4d ago
How do you know when you’re actually improving at programming?
I’ve been learning programming for a while, and sometimes it’s difficult to tell whether I’m actually improving.
I can follow tutorials and understand examples, but when I try to solve a problem completely on my own, I get stuck.
For those who are more experienced, what helped you move from following tutorials to confidently writing your own code?
I’d love to hear about your learning experiences.
32
Upvotes
15
u/MissinqLink 4d ago
Get away from tutorials as much as you can and try stuff freeform. You stumble at first but you build those muscles.
6
u/ClassKlutzy7633 4d ago
The clearest sign for me was the gap between tutorials and blank files shrinking. Try building something tiny with no tutorial open, like a small command-line tool for your own use, and only look things up when you hit a specific wall. Getting stuck there is normal and is the skill being trained. Another marker is debugging faster: reading an error and knowing roughly where to look.
4
u/Ahmed_Hisham0 4d ago
tutorials measure recognition, not skill. you feel fluent because everything on screen is familiar, and the moment the file is blank that feeling goes, which is why it feels like you're not improving.
three tests that actually tell you where you are:
build the same small thing twice, a week apart, from an empty file. the second time should be faster and quieter in your head. if it isn't, you learned the tutorial, not the thing.
count how long you stay stuck before you look something up. that number shrinking is the real progress, and it's invisible day to day.
try to explain a concept out loud to someone who doesn't code, without the video playing. you'll find the holes in about 30 seconds.
and the stuck part you described is the work, not a sign you're behind. getting stuck on your own problem for an hour and then unsticking yourself is worth more than three tutorials, even though it feels worse while it's happening.
4
u/PenaltyLucky6960 3d ago
I always feel like tutorials give you a false sense of progress sometimes. You follow along and everything works but then you open a blank editor and don't know what to do. Boot dev is more hands on because you actually have to write the code.
3
u/ReflectionThink6022 4d ago
You look at code you wrote six months ago and immediately cringe at how bad it is.
2
u/iqisoverrated 4d ago
Start implementing your own ideas. That way you quickly learn where you actually understood things and where there are still gaps. Fill in the gaps with further reading. Explore new ways of doing the same thing and try to understand advantages and disadvantages of each approach.
By writing and constantly rewriting/refactoring your own project you will see how your understanding progesses. Code becomes more concise. Patterns become apparent. Particularly once you put a project aside and then restart it you will find that too concise or too many patterns of patterns can be a problem and you start focussing on readability.
It's a constant process that only works by actually doing stuff yourself. Reading about the language fundamntals and following tutorials only gets you so far.
2
u/Salamanticormorant 3d ago
If you can find sites that have little coding challenges, easy at first, that might be good. Here's an example that comes to mind, although I'm not sure if it's a good starting point or more of a mid-range challenge. Consider Kaprekar's routine:
- https://en.wikipedia.org/wiki/Kaprekar%27s_routine
Can you write something that goes through that for any starting number you give it, providing output similar to how that example is shown? I've heard that some peoples' first thought is to convert numbers to strings. Can you figure out how to do it without doing that?
Can you generalize it so that it works with numbers that have more or less than four digits? Maybe they don't always end by repeating a value twice in a row. Can you code a way of checking to see if each new value is the same as any previous value, not just the most recent previous value? What data structures are better than others for keeping track of previous values in a way that lets you do that search efficiently?
2
u/Last_Swordfish9135 3d ago
Tbh step-by-step tutorials are kind of useless for learning as a beginner. Instead of taking on big projects that you don't know how to do and using a tutorial for the whole thing, you should solve tiny problems on your own. Then, instead of trying to transfer from using tutorials for big projects to writing them yourself, you increase the scale of the projects you work on yourself.
3
u/BrannyBee 4d ago
Same way you know you're better at reading. You don't. Eventually you just realize you've spent less time reading Animorphs and more time reading Lord of the Rings.
If you can follow tutorials but get stuck on similar things on your own, you aren't actually following the tutorials as much as you think you are. You're listening to the audiovook of Lord of the Rings because reading it yourself is too hard and you spend too much time looking up big words in the dictionary. Instead of following the tutorials, you should be building things and solving problems, "writing essays" and forming your own sentences by using the knowledge you learned is how you got better at reading. You didnt get better at reading by listening to an audiobook while you read the words at the same time.. Im sure that dies help to some extent, but its not how we teach people to get better at reading. And we dont teach people how to code by making them follow.the same tutorials over and over again
1
u/YellowBeaverFever 4d ago
You will slowly need less and less help. Instead of feeling completely lost when breaking down a problem, you will start to feel like you almost have the answer, but just need to look something up really quick. Then most times you will not need to look it up. You’ll always have to look stuff up, stuff that is new to you, but you’ll just recall how to solve problems by breaking them down.
1
u/lanerdofchristian 4d ago
The only way to move from following tutorials to confidently writing your own code is to first move from following tutorials to unconfidently writing your own code. Get stuck, tug on threads until you get unstuck, try things and watch how they break, read the error messages and the non-error messages too.
What may help is explicitly setting aside the tutorials and just using the official docs for your language on a small project. Small console games like tic-tac-toe or hangman can be good places to start.
At least half of getting good is becoming familiar, and you can only become familiar by practicing.
1
u/Funny_Distance_8900 4d ago
I gave up learning to code. It was so humbling. Now I screw up architecture and rush production to see if my idea works. And if it does, I undoubtedly broke other shit and my app will be in "maintenance" for at least 30 min or 3 days, depending on how soon I noticed...
Good news! My local dollar tree is now selling the cutest impostor rubber ducks..an alien, a shark.. and more. My rubber duck is lavender with a glitter black hat and a pink bowtie. The more you interact with your rubber duck, the better you're becoming bc you're solving more difficult problems.
1
u/Several_Version4298 4d ago
When you get stuck you get an error or the wrong output. When you can figure out why and look up how to fix it you have learnt something.
1
u/chidoOne707 4d ago
When you recognize the bugs, find them and solve them. That and understanding what is going on underneat the code structure.
1
u/Square-Yam-3772 4d ago
it is realizing that following tutorials isn't a sign of incompetence.
solving a problem completely on your own isn't a sign of competence
correctly identifying problems, articulating/finding what you need to solve problems; solving problems accurately and quickly until your project reaches completion is the actual sign of improvement
1
u/BotSlamminDayNNight 4d ago
i focused on the problem i was trying to solve. the solution is always a combination of fundamental units as basic as output to console or disk, read from a text box or command line, adding numbers, replacing text, for example.
1
u/Arreynn 3d ago
When you learn a new concept and then while doing something you’ve done 1000s of time before without thinking of why it works and you realise how and why its done that way.
Every small bit of knowledge adds up.
1
u/Salamanticormorant 3d ago
Maybe Codewars or something like that. Coding challenges rather than tutorials. Codewars was my just my first relevant search result. Maybe someone with actual experience will recommend a good one.
You learned a bunch of building blocks from tutorials. Now you've got to learn which ones to use, and how to stick them together, to solve actual problems. Imagination is a component of it. You've got to exercise that type of imagination, but realizing that it's about imagination might help you get there a little quicker.
Also, I think people rarely write code completely from scratch. I sure don't. I copy/paste from examples online and previous projects and then adapt. While you're learning, it might be better to go through the motions though, even if you're just typing something verbatim from one window into another. Helps it stick.
1
u/davidbalbino 3d ago
one thing that helped me a lot: when you finish a tutorial, close it and change the project. add a feature it didn't have, swap the storage, break it on purpose and fix it. thats where you find out what you actually understood vs what you were just copying
also build stuff you'll actually use yourself, even if it's dumb. you'll care more and you'll hit real problems that no tutorial covers lol. and getting stuck is pretty much the job, after 16 years I still get stuck every week, I just get unstuck faster
1
u/Upstairs_Jelly_1082 3d ago
Its exactly when you try to do something that you find out if you're good at improving.
I usually try doing stuff before watching the tutorial and then I try doing it afterwards so that I know if I've learnt something or not.
1
u/Maghioznic 3d ago
Well, you have answered your titular question yourself: you know when you're improving by seeing what you can do on your own.
How to move forward is to stop following tutorials and strain your brain to produce results without help. It's going to be harder and more painful, but that's the way forward. Come up with a crappy solution and then think of how you can make it better.
1
u/profalaxiz 3d ago
Honestly, you usually know you're improving when you look at code you wrote a month ago and cringe at how messy it is, or when you actually read an error traceback instead of immediately panicking. Getting stuck never really goes away, the problems just get harder.
To get past tutorial hell, take a tiny project you already finished and add one new feature to it on your own, or rebuild it from a blank file without looking at the original code. You will hit walls immediately, and googling your way through those specific walls is where the actual learning happens.
1
u/HannahHorror8536 3d ago
What helped me was going back to something i made a month ago, if it looks clunky now then you improved
1
u/aodare90 3d ago
You know when you can build independent projects.
You will know when you look at past projects and have better ideas to change them
That's how you know. Agree with the other comments that you should stay away from tutorials.
0
u/cockonkeyboard 4d ago
+1