this post was submitted on 24 Jul 2023
575 points (97.1% liked)

Programmer Humor

32032 readers
1073 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] 1 points 1 year ago (1 children)

Optimized to use less symbols by combining them (long gap between words is just three short gaps). I also think if a sentence ends, there would be the unnessecary 0 from the dots and Dashes at the end.

[โ€“] jungle 1 points 1 year ago

Yeah, that extra 0 also irks me, it's the typical issue when concatenating words, that requires a trim() at the end.

But it's not an issue in terms of showing that you need three symbols to represent Morse code.