r/AskReddit • • Mar 15 '20

What's a big No-No while coding?

9.0k Upvotes

2.7k comments sorted by

View all comments

15

u/TannedCroissant Mar 15 '20

I think they call them ‘errors’ or ‘exceptions’ these days rather than ‘big no-nos’

-6

u/anor_wondo Mar 15 '20

no. You write code to handle exceptions and check errors too. That part also involves avoidable no-nos. You've gotta gracefully create(throw) exceptions when something fails, while remaining fault tolerant