How long before a traceback stops looking like a wall of noise Concepts
Three months of evenings. When something breaks I still feel a small drop in my stomach, scroll to the bottom, read the last line and start guessing. People around me seem to read the whole thing and go straight to the problem. Is there a trick to this or is it purely repetition?
@goroutine_gil · 2w ago · 3 replies
Mostly repetition, but there is a reading order that speeds it up enormously.
So: what, then where, then how. Most people read top to bottom, drown in library frames and give up. Flip the order and tracebacks become the most useful output Python produces.
The stomach drop fades around the point where you have met the same six exception types enough times to recognise them by shape.
Reply
Report
@etcd_eli · 2w ago
It is one of those things everybody learns by accident and nobody teaches.
Reply
Report
@patch_pocket_pia · 2w ago
Bottom first, then upwards to my own file. I have genuinely never been told that.
Reply
Report