Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected] • 5 months ago

Specifying file paths

lemmy.ml

message-square
131
fedilink
  • cross-posted to:
  • [email protected]
  • [email protected]
1.27K

Specifying file paths

lemmy.ml

@[email protected] to Programmer [email protected] • 5 months ago
message-square
131
fedilink
  • cross-posted to:
  • [email protected]
  • [email protected]
  • @[email protected]
    link
    fedilink
    11•5 months ago

    I don’t get it

    • @[email protected]
      link
      fedilink
      English
      8•5 months ago

      The lightsaber direction is like / \

      • @[email protected]
        link
        fedilink
        2•
        edit-2
        5 months ago

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

        • /
          X
    • Diplomjodler
      link
      fedilink
      65•5 months ago

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

      • @[email protected]
        link
        fedilink
        16•5 months ago

        I understand pre-OS X Macintoshes used colons.

        • @[email protected]
          link
          fedilink
          3•
          edit-2
          5 months ago

          RISC OS uses periods and doesn’t have file extensions

        • @[email protected]
          link
          fedilink
          19•5 months ago

          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]
            link
            fedilink
            7•5 months ago

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

      • @[email protected]
        link
        fedilink
        6•5 months ago

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

        • @[email protected]
          link
          fedilink
          English
          20•
          edit-2
          5 months ago

          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]
            link
            fedilink
            3•5 months ago

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

            • @[email protected]
              link
              fedilink
              5•5 months 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]
                link
                fedilink
                2•5 months ago

                Thanks!

Programmer [email protected]

[email protected]
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 22 users / day
  • 195 users / week
  • 1.51K users / month
  • 4.31K users / 6 months
  • 3 subscribers
  • 1.55K Posts
  • 55.1K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org