this post was submitted on 25 Jun 2023
17 points (100.0% liked)

Programmer Humor

32411 readers
332 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

Well I didn’t wake up today expecting to watch a video about task manager, but here I am.

[–] [email protected] 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

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

This is my favorite. I did php early in my career and for years I would have to Google " equivalent explode/implode" because it was so memorable

[–] [email protected] 0 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

Also Linux: zombies, orphans

[–] [email protected] -1 points 1 year ago

I love die()! but PHP has exit(), too, and it does the same thing