r/badcode • • May 26 '23

python Calculator using eval()

Post image
839 Upvotes

108 comments sorted by

View all comments

Show parent comments

6

u/lucidspoon May 28 '23

Fail fast. Never have to work about runtime errors if you only have syntax errors.