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

Programmer Humor

37020 readers
257 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 11 comments
sorted by: hot top controversial new old
[–] nothacking@discuss.tchncs.de 1 points 2 years ago (1 children)
[–] chris_hayes@lemmy.ml 1 points 2 years ago (1 children)

Also Linux: zombies, orphans

[–] Mirodir@lemmy.fmhy.ml 1 points 2 years ago
[–] amanaftermidnight@lemmy.world 1 points 2 years ago

PHP is so bad even PHP wants to die().

[–] kr0n@lemmy.ml 1 points 2 years ago

php, the Dark Souls of the programming languages

[–] silenium_dev@etaorion.org 1 points 2 years ago

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

throw null;

Because throw throws a NPE if the parameter is null

[–] dullbananas@lemmy.ml 1 points 2 years ago (1 children)
[–] epyon22@sh.itjust.works 1 points 2 years 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

[–] Grishaix@feddit.de 1 points 2 years ago (1 children)
[–] ndguardian@lemmy.studio 1 points 2 years ago

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

[–] yaniv@lemmy.ml -1 points 2 years ago

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