3 ms·
I have had similar experiences teaching python; the error messages take a while to be able to decode. One idea I've had is to write an exception handler or wrap
by askvictor 9y ago
I have had similar experiences teaching python; the error messages take a while to be able to decode. One idea I've had is to write an exception handler or wrapper that catches all exceptions and tries to display them in a more beginner friendly way (more human, and with some possible hints to how to fix). Unfortunately never had time to implement it among the actual teaching. This enhancement is a good start, but could be a bit better still with simpler/less technical language. Other common (runtime) errors (e.g. IndexError, TypeError) would also be a good target for this approach.
- Myrmornis 9y agoThat does seem like a good and totally doable idea.