this post was submitted on 01 Feb 2025
1050 points (99.3% liked)

Programmer Humor

20039 readers
1819 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
[–] SendMePhotos 11 points 17 hours ago (2 children)
[–] Diplomjodler3 66 points 17 hours 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] 16 points 17 hours ago (2 children)

I understand pre-OS X Macintoshes used colons.

[–] PNW_Doug 18 points 16 hours 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.

[–] saplyng 8 points 15 hours ago

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

[–] [email protected] 3 points 15 hours ago* (last edited 15 hours ago)

RISC OS uses periods and doesn't have file extensions

[–] Valmond 6 points 16 hours ago (1 children)

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

[–] [email protected] 20 points 15 hours ago* (last edited 15 hours 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.

[–] Valmond 3 points 15 hours ago (1 children)

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

[–] [email protected] 1 points 13 hours ago

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] 6 points 12 hours ago (1 children)

The lightsaber direction is like / \

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

A whole fight inccharacters:
/ \
X
| |
\ /

  • /
    X