this post was submitted on 20 Oct 2023
1255 points (97.8% liked)

Programmer Humor

32061 readers
1180 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
[–] [email protected] 19 points 11 months 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.

[–] [email protected] 2 points 11 months ago (1 children)

What was you hash function? return 1?

[–] [email protected] 4 points 11 months ago (1 children)
[–] [email protected] 2 points 11 months ago

shirt.isShortSleeved()

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