this post was submitted on 24 Jul 2023
497 points (96.8% liked)

Programmer Humor

32565 readers
413 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] 5 points 1 year ago (2 children)

I'm guessing you're saying that because of the pauses? Otherwise I don't get it.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

1.short signal 2.long signal 3.no signal

[–] [email protected] 1 points 1 year ago (1 children)

Yes, the space is a necessary symbol in Morse code, otherwise it's impossible to decode.

[–] [email protected] 1 points 1 year ago (1 children)

Makes sense. I remember asking myself whether Morse was a form of Huffman encoding back when I was learning that stuff. And it kinda is going for that, but without actually doing it properly since it wasn't a binary code per se and so could use the pauses. "Ternary" makes sense.

[–] [email protected] 2 points 1 year ago

Right, Morse was actually mentioned as an example when I was learning Huffman encoding. :)