this post was submitted on 20 Oct 2023
1238 points (97.7% liked)

Programmer Humor

32261 readers
67 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] xmunk@sh.itjust.works 18 points 1 year ago (1 children)

Personally I assemble my clothes in a B+ tree on my desk. I've found that the hash lookup algorithm I was using had too many collisions.

[–] Karyoplasma@discuss.tchncs.de 2 points 1 year ago (1 children)

What was you hash function? return 1?

[–] xmunk@sh.itjust.works 4 points 1 year ago (1 children)
[–] Karyoplasma@discuss.tchncs.de 2 points 1 year ago

shirt.isShortSleeved()

That would actually be sufficient for my use case, not gonna lie.