this post was submitted on 10 Sep 2025
500 points (98.1% liked)

Programmer Humor

26237 readers
2108 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
(page 2) 32 comments
sorted by: hot top controversial new old
[–] apfelwoiSchoppen@lemmy.world 13 points 20 hours ago (1 children)

The NHL banned the use of 00 as a number in the 95-96 season because they claimed their databases couldn't handle it. They still are fools because this continues to be a banned number to this day.

[–] AmazingAwesomator@lemmy.world 5 points 18 hours ago

(i am old) both my brother and i were number 00 in our younger hockey years. we were goalies, so we got first pick of numbers on all new teams we played on, heheheh.

[–] lime@feddit.nu 10 points 19 hours ago (3 children)

some of you have never programmed in tcl and it shows

[–] frezik@lemmy.blahaj.zone 4 points 18 hours ago (1 children)

I have. I quickly learned not to.

Tk is overlooked, though. It's not pretty, and its approach is archaic, but it's one of the few GUI toolkits that Just Works on every platform I tried it on with minimum fuss.

[–] lime@feddit.nu 3 points 17 hours ago

having used swing and modern js, i still prefer tk.

load more comments (2 replies)
[–] kruhmaster@sh.itjust.works 9 points 19 hours ago (2 children)
[–] MonkderVierte@lemmy.zip 3 points 16 hours ago (1 children)
[–] kruhmaster@sh.itjust.works 3 points 16 hours ago (1 children)
[–] MonkderVierte@lemmy.zip 2 points 14 hours ago

No, i'm asking what type the cat is.

[–] desmosthenes@lemmy.world 10 points 20 hours ago

lol I think this when I see “any”

[–] communism@lemmy.ml 8 points 19 hours ago

Simply make everything an array of bytes

[–] trxxruraxvr@lemmy.world 8 points 19 hours ago (2 children)
[–] Feyd@programming.dev 5 points 18 hours ago (2 children)
[–] MigratingApe@lemmy.dbzer0.com 2 points 17 hours ago* (last edited 17 hours ago)

The almighty package require Expect. The muse of automation.

load more comments (1 replies)
[–] Valmond@lemmy.world 1 points 18 hours ago
[–] KindaABigDyl@programming.dev 9 points 20 hours ago

Just use enums

[–] cupcakezealot@piefed.blahaj.zone 2 points 18 hours ago

make everything a string then cast all data every time you want to use that data in a variable.

[–] driving_crooner@lemmy.eco.br 3 points 20 hours ago

Kinda started using that with polars, force the scan/read schema as string, and down the road cast as the necessary type when needed. I'm calling it "just in time" data cleaning.

[–] brashboy@lemmy.world 1 points 17 hours ago (1 children)

If it's not getting used in a mathematical function, I'm making it a string

[–] Garbagio@lemmy.zip 2 points 17 hours ago

stoi and atoi got ur back, homie

load more comments
view more: ‹ prev next ›