this post was submitted on 14 Jul 2024
262 points (98.2% liked)

Programmer Humor

23568 readers
2999 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] devilish666@lemmy.world 27 points 10 months ago (14 children)

Now write code with it
I dare you
<⁠(⁠ ̄⁠︶⁠ ̄⁠)⁠>

[–] stoy@lemmy.zip 12 points 10 months ago (13 children)

Do the characters even have morse code assigned to them?

[–] morgunkorn@discuss.tchncs.de 26 points 10 months ago (11 children)

I found those:

Underscore		. . _ _ . _
Addition		. _ . _ .
Subtraction		_ . . . . _ 
Multiplication		_ . . _
Division		_ _ _ . . .
Equal			_ . . . _
Right Parenthesis	_ . _ _ . _
Left Parenthesis	_ . _ _ .

But this isn't enough for programming, square and curly brackets, carets, ampersand, pipe, tilda... I think it's gonna be pretty challenging

[–] Turun@feddit.de 16 points 10 months ago (1 children)

C is so old, it has a way to work around that! In case your 198x keyboard was not set to ASCII you know. Not sure if Morse covers all the characters needed for the replacement trigraphs though.

https://riptutorial.com/c/example/23858/trigraphs

[–] morgunkorn@discuss.tchncs.de 7 points 10 months ago

I love when there are solutions for every weird use case ^^

load more comments (9 replies)
load more comments (10 replies)
load more comments (10 replies)