this post was submitted on 10 Sep 2025
550 points (98.2% liked)

Programmer Humor

26265 readers
1483 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) 39 comments
sorted by: hot top controversial new old
[–] lime@feddit.nu 10 points 1 day ago (3 children)

some of you have never programmed in tcl and it shows

[–] frezik@lemmy.blahaj.zone 4 points 1 day 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 1 day ago

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

load more comments (2 replies)
[–] desmosthenes@lemmy.world 10 points 1 day ago

lol I think this when I see “any”

[–] kruhmaster@sh.itjust.works 9 points 1 day ago (2 children)
[–] MonkderVierte@lemmy.zip 4 points 1 day ago (1 children)
[–] kruhmaster@sh.itjust.works 3 points 1 day ago (1 children)
[–] MonkderVierte@lemmy.zip 2 points 1 day ago

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

[–] NigelFrobisher@aussie.zone 2 points 1 day ago (2 children)

There are two genders: string and null

load more comments (2 replies)
[–] KindaABigDyl@programming.dev 9 points 1 day ago

Just use enums

[–] communism@lemmy.ml 8 points 1 day ago

Simply make everything an array of bytes

[–] trxxruraxvr@lemmy.world 8 points 1 day ago (2 children)
[–] Feyd@programming.dev 5 points 1 day ago (2 children)
[–] ripcord@lemmy.world 2 points 1 day ago

Surprising amount of Tcl love in this thread

[–] MigratingApe@lemmy.dbzer0.com 2 points 1 day ago* (last edited 1 day ago)

The almighty package require Expect. The muse of automation.

[–] driving_crooner@lemmy.eco.br 3 points 1 day 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.

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

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

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

[–] Garbagio@lemmy.zip 2 points 1 day ago

stoi and atoi got ur back, homie

load more comments
view more: ‹ prev next ›