silenium_dev@etaorion.orgtoProgrammer Humor@lemmy.ml•Personally I prefer `throw new nullpointerexception`
1·
1 year agoFun fact: there’s a shorter way to throw a NullPointerException:
throw null;
Because throw
throws a NPE if the parameter is null
If you don’t go to parties, you can save even more