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

Programmer Humor

19114 readers
532 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 27 points 1 month ago (1 children)

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

[–] [email protected] 12 points 1 month ago (2 children)

Do the characters even have morse code assigned to them?

[–] [email protected] 26 points 1 month ago (3 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

[–] [email protected] 16 points 1 month 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

[–] [email protected] 7 points 1 month ago

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

[–] [email protected] 11 points 1 month ago* (last edited 1 month ago) (1 children)
[–] [email protected] 6 points 1 month ago (2 children)

Please delete the .m. from the Wikipedia link so it's correct for desktop users.

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago) (1 children)
[–] [email protected] 4 points 1 month ago
[–] [email protected] -3 points 1 month ago (1 children)

What if desktop users delete it themselves, if they don't like it?

[–] [email protected] 8 points 1 month ago (1 children)

The default link redirects for mobile automatically, it doesn't work the other way around.

[–] [email protected] -4 points 1 month ago

Ok, that's fair point, but it still isn't other people's job to serve you links just how you like them.

[–] cheddar 3 points 1 month ago (1 children)

Can't you extend it by adding extra bits? Though typing them would be problematic as the length will be growing too.

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

It would be a blow to render this typing method slightly slower, definitely a deal breaker 😏

[–] [email protected] 1 points 1 month ago

COW (a moo themed brainfuck variant) would work.