D
11

My first coding attempt blew up like a bad spark plug. What's the best way to learn from mistakes?

I wrote a simple Python script and it failed in a way I don't get. Any tips for fixing errors when you're just starting out?
3 comments

Log in to join the discussion

Log In
3 Comments
brian_martin75
Watch how people fix stuff in real life, like mechanics or carpenters. They learn by messing up so many times their hands just know what not to do. Coding feels the same way after a while.
3
the_avery
the_avery5d ago
Absolutely see that with coding too, where your fingers just start fixing syntax errors before your brain even processes them. It's all that repetition building a kind of muscle memory for problem patterns. You stop thinking about each semicolon and start feeling the shape of a working function. That deep knowing only comes from breaking things and patiently putting them back together, over and over.
6
pat424
pat4242d ago
Actually @brian_martin75, it's less about the hands knowing what not to do and more about them recognizing the pattern for what works. The muscle memory gets talked about a lot, but it's really your brain getting faster at spotting the right shape for the solution, not just avoiding past errors.
4