this post was submitted on 25 Jun 2023
393 points (98.3% liked)

Programmer Humor

32426 readers
854 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] silenium_dev@etaorion.org 1 points 1 year ago

Fun fact: there's a shorter way to throw a NullPointerException:

throw null;

Because throw throws a NPE if the parameter is null