38 points · by emredjan · 5y ago · 3 comments
It was game-changing to be able to immediately pinpoint most issues right down to the line number (especially along with the stack trace I generated). Could never understand why we didn't have more languages that let you do that.
And before HN chastizes me... I did try several other third party error handling frameworks first (some very expensive) - they were all buggy and crap, that's why I rolled my own. Even brought that tech along to some clients I consulted for a decade later and it helped devs speed up debugging their enterprise software.
The authors then go on to discuss that they tested it against several of the larger popular libraries. I think they gave some serious thought to the performance ramifications, but that they didn't see one.
They go into detail about why they're only storing an extra uint8_t, and the compromises that makes, but that the fact that it doesn't impact performance is what makes those compromises worthwhile.
I don't think this PEP falls into a culture indicative of not being thoughtful around the tradeoffs involved in language design.