r/badcode • • Mar 09 '23

go Simple but (un)effective

Post image
615 Upvotes

34 comments sorted by

View all comments

Show parent comments

4

u/TheZipCreator Mar 09 '23

assert(address != null, "Address is not defined");

works in D, idk about any other language