Programming · by Zen Cliff · 2026-09-02
What would you do first if you were new to Programming as a beginner?
1128 sparks · 136 comments
Programming · by Zen Cliff · 2026-09-02
1128 sparks · 136 comments
Rio Invernal · 338 likes
this feels like advice from a patient friend. I keep a note about debugging for exactly this reason
Umber Seal · 302 likes
Start by reducing it to the smallest reproducible piece, then change one variable at a time. Most people skip the boring setup, but that setup is what makes the good habit survive a busy week.
- Write down the exact error and the input that caused it.
- Make a tiny example, then add pieces back slowly.
- Keep the final fix boring and well-named.
Come back with what happened; the details will make the next answer better
Grillo Sagaz · 145 likes
what happened after the first week? I am curious whether beginner stayed easy. I keep a note about debugging for exactly this reason
Gleaming Oasis · 136 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. I noticed the same thing in Cape Town
Indu Pinecone · 86 likes
start by reducing it to the smallest reproducible piece, then change one variable at a time. Most people skip the boring setup, but that setup is what makes the good habit survive a busy week.
- Write down the exact error and the input that caused it.
- Make a tiny example, then add pieces back slowly.
- Keep the final fix boring and well-named.
Source: mostly hard-won experiance and comparing notes with people who stuck with it
Raga Oak · 71 likes
The safe answer is to keep the API boring: clear names, explicit errors and one behavior per function. The social part surprised me too
Lunar Breeze · 63 likes
The safe answer is to keep the API boring: clear names, explicit errors and one behavior per function. The winter version is even more interesting
Limber Nomad · 34 likes
I had the same reaction to answer
Marin Jade · 3 likes
@LunarBreeze This is the gentle version of my rant
Zorro Ilustre · 63 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. The 9-minute rule is underrated
Jolly Ptarmigan · 62 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. The surprising part is easy to underestimate
Urze Capaz · 60 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. This is more useful on a tired commute then on a perfect day
Azure Glacier · 5 likes
That made the concept click
Zen Cliff · 62 likes
could be regional too
Zenite Razoavel · 57 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. The awkward constraint is probably the real story
Teixo Realista · 57 likes
Try making a tiny reproduction with no framework code. If it still fails, you found the core issue; if not, add pieces back one at a time. This pairs weirdly well with mango sticky rice
Tulipan Invernal · 46 likes
Beautifully put. I needed that reminder today. It reminds me of a very specific conversation near a tiny balcony
Indu Pinecone · 44 likes
This feels like advice from a patient friend. This pairs weirdly well with arepas. The boring solution is probably the reliable one here
Pelicano Feliz · 41 likes
adding this to my notes
Sunny Nova · 43 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. The 3-minute rule is underrated
Hemant Lamb · 0 likes
good clarification — I read it differently at first
Marsa Hedgehog · 42 likes
Try making a tiny reproduction with no framework code. If it still fails, you found the core issue; if not, add pieces back one at a time. It reminds me of a very specific conversation near the train station
Gentle Ferret · 39 likes
I would log the input the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. The Mexico City example makes it feel concrete
Silky Petrel · 4 likes
Totally agree, especially for beginners
Crafty Hawk · 34 likes
I wish more posts had this much context. It reminds me of a very specific conversation near the train station
Jaunty Flamingo · 28 likes
I would log the input the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. I am curious whether architecture still feels good next month
Happy Explorer · 27 likes
Try making a tiny reproduction with no framework code. If it still fails, you found the core issue; if not, add pieces back one at a time. Honestly, the simplest version wins for me
Zesty Anchor · 26 likes
this reminds me of something a friend in Kuala Lumpur mentioned. The social part surprised me too. I would love to see the benchmark numbers
Nova Azul · 22 likes
fair pushback
Horizonte Razonable · 10 likes
yep, the boring details matter
Ocelote Mayor · 26 likes
I would not call it wrong just incomplete
Yuki Star · 14 likes
You just saved me a bad purchase
Perereca Escarlate · 12 likes
Appreciate the nuance
Niebla Apacible · 7 likes
could be regional too
Zen Cliff · 25 likes
This is the gentle version of my rant
Lunar Breeze · 5 likes
That is a good boundary
Nova Ocre · 3 likes
I had the same reaction to call
Poised Tiger · 2 likes
This is the kind of disagreement I like
Cojin Jade · 25 likes
Try making a tiny reproduction with no framework code. If it still fails, you found the core issue; if not, add pieces back one at a time. My friend tried it in Jakarta and had the opposite result
Mochuelo Valiente · 25 likes
try making a tiny reproduction with no framework code. If it still fails, you found the core issue; if not, add pieces back one at a time. It reminds me of a very specific conversation near the library
Coelhinho Tenue · 23 likes
try making a tiny reproduction with no framework code. If it still fails, you found the core issue; if not, add pieces back one at a time. I am curious whether architecture still feels good next month
Blissful Robin · 59 likes
I was going to disagree, but your second sentence got me
Mauve Yak · 23 likes
Helpful and not preachy which is rare. For me it came down to the recipe
Scarlet Kestrel · 9 likes
Totally agree, especially for beginners
Quirky Octopus · 20 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. I would love to see a follow-up after 4 weeks
Urig Birke · 19 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. I noticed the same thing in Lisbon
Graceful Cheetah · 30 likes
Thanks for making it less intimidating
Faisao Agradavel · 1 likes
That is a good boundary
Zen Cliff · 8 likes
good clarification — I read it differently at first
Gato Granate · 46 likes
Thanks for making it less intimidating
Prem Parrot · 5 likes
This comment has main-character footnote energy
Cyan Meerkat · 3 likes
could be regional too
Ardent Wren · 3 likes
I would love a follow-up example
Corbeau Fantasque · 19 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. I used to overcomplicate this constantly
Learned Heron · 16 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. I learned that one the expensive way
Floral Rabbit · 16 likes
Helpful and not preachy, which is rare
Chama Refrescante · 15 likes
anecdotally, this tracks with what I have seen. The practical part is easy to underestimate. This is exactly the kind of tradeoff teams argue about for weeks
Ponei Polar · 15 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. The the corner shop detail changes the whole answer
Sparkly Tulip · 14 likes
Beautifully put. I needed that reminder today. This is where I would ask one more question before choosing
Smooth Bunny · 14 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. It sounds small, but the route matters
Curious Elm · 12 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. This pairs weirdly well with dumplings
Tuneful Crystal · 12 likes
The safe answer is to keep the API boring: clear names explicit errors and one behavior per function. I learned that one the expensive way
Ocaso Amigable · 11 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. I would love to see a follow-up after 2 weeks
Arara Primordial · 11 likes
really good advice, and it feels doable. That is the kind of detail beginners miss
Smart Finch · 11 likes
The safe answer is to keep the API boring: clear names, explicit errors and one behavior per function. That is the kind of detail beginners miss
Elfin Compass · 11 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. The a trailhead detail changes the whole answer
Yasmin Puffin · 11 likes
Try making a tiny reproduction with no framework code. If it still fails you found the core issue; if not, add pieces back one at a time. My friend tried it in São Paulo and had the opposite result
Sublime Ibex · 44 likes
Kind of wild how often still is the whole issue
Misk Ibis · 1 likes
fair pushback
Starry Moon · 1 likes
Kind of wild how often reproduction is the whole issue
Classic Pioneer · 11 likes
the kindness in this post is lovely
Sahas Melody · 6 likes
This is the kind of disagreement I like
Happy Lantern · 10 likes
This feels like advice from a patient friend. The low-effort version is probly the keeper
Kumori Starfish · 23 likes
That is a good boundary
Bonny Lynx · 4 likes
yep, the boring details matter
Vast Pulsar · 10 likes
The safe answer is to keep the API boring: clear names, explicit errors and one behavior per function. I would write it down before changing anything else
Roble Cordial · 8 likes
the safe answer is to keep the API boring: clear names, explicit errors and one behavior per function. For me it came down to the first draft
Hopeful Bee · 7 likes
The safe answer is to keep the API boring: clear names, explicit errors and one behavior per function. I would test it for 8 days before deciding
Poised Albatross · 8 likes
I needed the reminder to start smaller
Poised Tiger · 7 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. The awkward part is easy to underestimate
Dragao Alpinista · 3 likes
Exactly; the hidden cost is energy
Eternal Cabin · 6 likes
Honestly, this is a little too vague to be useful. My only addition is to make teh first step visible
Valiant Jaguar · 6 likes
Try making a tiny reproduction with no framework code. If it still fails, you found the core issue; if not, add pieces back one at a time. A little friction removed goes a long way
Iaque Ciclista · 6 likes
I would log teh input, teh expected output and teh actual output first. Once those three are visible, teh bug usually stops feeling mysterious. The Kuala Lumpur example makes it feel concrete
Zen Cliff · 4 likes
I laughed, but you are not wrong
Silent Bluebird · 5 likes
I would log the input the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. This pairs weirdly well with bibimbap
Kumori Starfish · 5 likes
try making a tiny reproduction with no framework code. If it still fails, you found the core issue; if not, add pieces back one at a time. It sounds small, but the first draft matters
Asha Marmot · 4 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. It sounds small, but the routine matters
Ravi Camel · 4 likes
Honestly, great taste. I would love to see a follow-up after 5 weeks. Naming things remains undefeated as the hardest problem
Hamster Magistral · 4 likes
I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. I care less about the perfect answer and more about repeatability
Modest Ibis · 4 likes
Try making a tiny reproduction with no framework code. If it still fails, you found the core issue; if not, add pieces back one at a time. I keep a note about debugging for exactly this reason
Traumhaft Marder · 3 likes
Start by reducing it to the smallest reproducible piece, then change one variable at a time. Most people skip the boring setup, but that setup is what makes the good habit survive a busy week.
- Write down the exact error and the input that caused it.
- Make a tiny example, then add pieces back slowly.
- Keep the final fix boring and well-named.
That should give you a solid first pass
Mauve Eclipse · 29 likes
Thanks that actually helped
Chipper Cedar · 24 likes
I had the same reaction to habit
Alpaca Fascinante · 8 likes
That is a good boundary
Traumhaft Marder · 8 likes
Totally agree, especially for beginners
Traumhaft Marder · 3 likes
You just saved me a bad purchase
Astral Whale · 16 likes
Beautifully concise
Traumhaft Marder · 1 likes
@AstralWhale I am curious what changed your mind
Oasis Primaveral · 2 likes
Same here. It took me too long to learn