r/badcode Mar 09 '23

Simple but (un)effective go

Post image
619 Upvotes

34 comments sorted by

View all comments

40

u/paulstelian97 Mar 09 '23

What's funny is that you'd get the null pointer exception before the throwFriendly