this post was submitted on 01 Feb 2025
1426 points (99.0% liked)

Programmer Humor

20383 readers
1358 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
[–] [email protected] 12 points 5 days ago (2 children)
[–] [email protected] 71 points 5 days ago (2 children)

Linux uses forward slash. Windows uses backslash. Because some dude 45 years ago wanted to make it look different from UNIX.

[–] [email protected] 17 points 5 days ago (2 children)

I understand pre-OS X Macintoshes used colons.

[–] [email protected] 20 points 5 days ago (1 children)

They did! And I weirdly kind of miss them for the entirely non-logical reason that they looked elegant.

Don't get me wrong, I adapted in about 3 seconds when I made the switch to Mac OS X 25 years ago, but I irrationally kinda miss them just a tiny bit.

[–] [email protected] 9 points 5 days ago

Code in Rust and you can get double colons for your library path imports!

[–] [email protected] 3 points 5 days ago* (last edited 5 days ago)

RISC OS uses periods and doesn't have file extensions

[–] [email protected] 7 points 5 days ago (1 children)

Was that bill gates just to make one of the first incompatibilities in a long long run?

[–] [email protected] 22 points 5 days ago* (last edited 5 days ago) (1 children)

DOS originally didn't even support directories but was using / for command line arguments. They didn't want to change the option character and break stuff so they went with \ as the directory separator.

DOS wasn't originally created by Microsoft. They bought the OS from computer shop in Seattle.

[–] [email protected] 3 points 5 days ago (1 children)

Thanks for the info, didn't know that (I did know they bought DOS)!

[–] [email protected] 4 points 5 days ago (1 children)

This is a great video about the launch of Windows 95, that covers the history of DOS at the beginning: https://youtu.be/0Ol8ZSE-PEk. Worth watching if you're interested in the history.

[–] [email protected] 1 points 3 days ago
[–] [email protected] 7 points 5 days ago (1 children)

The lightsaber direction is like / \

[–] [email protected] 1 points 5 days ago* (last edited 3 days ago)

A whole fight in characters:
/ \
X
| |
\ /

  • /
    X