this post was submitted on 20 Oct 2023
1206 points (97.7% liked)
Programmer Humor
32588 readers
1389 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
What was you hash function? return 1?
shirt.isShortSleeved()
That would actually be sufficient for my use case, not gonna lie.