r/ProgrammerHumor • • Mar 20 '24

Meme areJSDevsActuallySane

Post image
14k Upvotes

554 comments sorted by

View all comments

Show parent comment

2

u/Salanmander Mar 21 '24

What I mean by built-in error handling that would be better than this, is I would rather the language had an automatic

try{}catch{log(error)}

around every method unless otherwise specified. Other stuff that relied on the method would still break and propagate those errors, but it would be breaking anyway.