this post was submitted on 30 Aug 2026
867 points (98.4% liked)

Programmer Humor

33068 readers
999 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 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] stingpie@lemmy.world 8 points 2 days ago (3 children)

The only definition of hash that I know is an identifier for an object created from that object's data. Everything else stems from that central idea. What other types of hash are there?

[–] Waraugh@lemmy.dbzer0.com 6 points 2 days ago (1 children)

I smoked some on the way in here to make interviewing more tolerable

[–] trebach@sh.itjust.works 1 points 2 days ago

I had a can of it and made some Reuben sandwiches.

[–] kamen@lemmy.world 4 points 2 days ago (1 children)

Yeah, it's basically that, but it has different uses - two main things I can think of right away are 1) verifying data when downloading large files and 2) cryptography (e.g. when storing credentials). Oh, and hash tables too.

[–] Laser@feddit.org 1 points 1 day ago (1 children)

Well, but the question wasn't "what is a hash used for", but rather "what is a hash"

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

Then it's not all that ambiguous and could be answered with one sentence.

[–] Laser@feddit.org 2 points 1 day ago

Technically, the question was even easier (yes/no), but I agree with the sentiment

[–] k0k0_belgium@lemmychan.org 1 points 2 days ago

The kind you smoke.