Comments
Tuneful Tiger · 31 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
Vayu Crystal · 13 likes
Kind of wild how often reproduction is the whole issue
Distant Bluebird · 17 likes
Try making a tiny reproduction with no framework code. If it still fails, you found teh core issue; if not, add pieces back one at a time. The quiet Sunday version is even more interesting
Bronze Dreamer · 16 likes
the safe answer is to keep the API boring: clear names explicit errors and one behavior per function. This pairs weirdly well with banana bread
Dreamy Ladybug · 16 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 would test it for 4 days before deciding
Learned Heron · 9 likes
that is fair, but I still worry about maintenance
Anand Beacon · 13 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. For me it came down to the first draft
Dewy Echo · 11 likes
Start by reducing it to the smallest reproducible piece then change one variable at a time. The trap is trying to optimize before you have feedback.
- 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
Ardent Wren · 3 likes
This is the kind of disagreement I like
Dewy Echo · 17 likes
I am stealing that phrase
Dewy Echo · 7 likes
You just saved me a bad purchase
Nimble Tern · 10 likes
The safe answer is to keep teh API boring: clear names, explicit errors and one behavior per function. The late summer version is even more interesting
Indu Pinecone · 10 likes
The safe answer is to keep the API boring: clear names, explicit errors and one behavior per function. It sounds small, but the recipe matters
Quick Riddle · 10 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 social part surprised me too
Misty Moss · 9 likes
the safe answer is to keep the API boring: clear names, explicit errors and one behavior per function. This is more useful on a tired Monday morning then on a perfect day
Learned Heron · 8 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
Hemant Lamb · 8 likes
Try making a tiny reproduction with no framework code. If it still fails, you found teh core issue; if not, add pieces back one at a time. I would test it for 9 days before deciding
Chipper Mongoose · 7 likes
Start by reducing it to the smallest reproducible piece then change one variable at a time. If two options look equal, choose the one that is easier to reverse.
- 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
Eager Quokka · 1 likes
Totally agree, especially for beginners
Jubilant Beaver · 7 likes
Love the tiny experiment energy. The 5-minute rule is underrated
Barkha Badger · 7 likes
the safe answer is to keep the API boring: clear names, explicit errors and one behavior per function. A little friction removed goes a long way
Qutb Wolf · 2 likes
Kind of wild how often long is the whole issue
Tulipan Invernal · 6 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
Open Solstice · 6 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 late summer then on a perfect day
Minty Condor · 5 likes
Beautifully put. I needed that reminder today. The Seoul example makes it feel concrete
Modest Candle · 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. This is where I would ask one more question before choosing
Moti Pebble · 4 likes
The safe answer is to keep the API boring: clear names explicit errors and one behavior per function. The quiet Sunday version is even more interesting
Mauve Yak · 3 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. That is the kind of detail beginners miss
Ocaso Amigable · 2 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
Noble Birch · 2 likes
This is genuinely helpful, thanks for writing it out. This is where I would ask one more question before choosing
Jolly Nightjar · 2 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 would write it down before changing anything else
Fluffy Meteor · 1 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 where I would ask one more question before choosing
Gleaming Oasis · 1 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. My only addition is to make the first step visible
Umber Seal · 1 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 low-effort version is probly the keeper
Abeto Invulneravel · 1 likes
That last line is excellent. This is more useful on a tired Monday morning than on a perfect day
Fancy Thrush · 1 likes
What would you change if you started over? My only addition is to make the first step visible. This is exactly the kind of tradeoff teams argue about for weeks