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

Programmer Humor

20284 readers
1056 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
[–] Diplomjodler3@lemmy.world 72 points 2 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.

[–] HakFoo@lemmy.sdf.org 17 points 2 days ago (2 children)

I understand pre-OS X Macintoshes used colons.

[–] PNW_Doug@lemmy.world 21 points 2 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.

[–] saplyng@lemmy.world 8 points 2 days ago

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

[–] azi@mander.xyz 3 points 2 days ago* (last edited 2 days ago)

RISC OS uses periods and doesn't have file extensions

[–] Valmond@lemmy.world 7 points 2 days ago (1 children)

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

[–] __nobodynowhere@startrek.website 21 points 2 days ago* (last edited 2 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.

[–] Valmond@lemmy.world 3 points 2 days ago (1 children)

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

[–] dan@upvote.au 4 points 2 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.

[–] Valmond@lemmy.world 1 points 19 hours ago