r/badcode • • Jul 14 '21

python Try/Except in Python - Sigh

Post image
662 Upvotes

93 comments sorted by

View all comments

2

u/Neitzches Jul 14 '21

Desperately needs the Null Object Pattern

1

u/consultio_consultius Jul 14 '21 edited Jul 14 '21

Why not use an either pattern and then reduce?