549
Stringly typed (programming.dev)
(page 2) 39 comments
sorted by: hot top controversial new old
[-] NigelFrobisher@aussie.zone 2 points 1 day ago

There are two genders: string and null

load more comments (2 replies)
[-] lime@feddit.nu 10 points 1 day ago

some of you have never programmed in tcl and it shows

[-] frezik@lemmy.blahaj.zone 4 points 1 day ago

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”

[-] KindaABigDyl@programming.dev 9 points 1 day ago

Just use enums

[-] kruhmaster@sh.itjust.works 8 points 1 day ago
[-] communism@lemmy.ml 8 points 1 day ago

Simply make everything an array of bytes

[-] trxxruraxvr@lemmy.world 8 points 1 day ago
[-] Feyd@programming.dev 5 points 1 day ago
[-] MigratingApe@lemmy.dbzer0.com 2 points 1 day ago* (last edited 1 day ago)

The almighty package require Expect. The muse of automation.

load more comments (1 replies)
[-] Valmond@lemmy.world 1 points 1 day ago
[-] 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

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 ›
this post was submitted on 10 Sep 2025
549 points (98.2% liked)

Programmer Humor

26265 readers
2004 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