Johnnei's World
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 3 months ago

Specifying file paths

lemmy.ml

external-link
message-square
108
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
1.38K
external-link

Specifying file paths

lemmy.ml

cm0002@lemmy.world to Programmer Humor@programming.dev · 3 months ago
message-square
108
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • SendMePhotos@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    3 months ago

    I don’t get it

    • Diplomjodler@lemmy.world
      link
      fedilink
      arrow-up
      71
      ·
      3 months ago

      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
        link
        fedilink
        arrow-up
        17
        ·
        3 months ago

        I understand pre-OS X Macintoshes used colons.

        • PNW_Doug@lemmy.world
          link
          fedilink
          arrow-up
          21
          ·
          3 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.

          • saplyng@lemmy.world
            link
            fedilink
            arrow-up
            9
            ·
            3 months ago

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

        • azi@mander.xyz
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          3 months ago

          RISC OS uses periods and doesn’t have file extensions

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        3 months ago

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

        • __nobodynowhere@startrek.website
          link
          fedilink
          English
          arrow-up
          22
          ·
          edit-2
          3 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.

          • Valmond@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            3 months ago

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

            • dan@upvote.au
              link
              fedilink
              arrow-up
              5
              ·
              3 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.

              • Valmond@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                3 months ago

                Thanks!

    • mexicancartel@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      8
      ·
      3 months ago

      The lightsaber direction is like / \

      • Appoxo@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        3 months ago

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

        • /
          X

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

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: !programmer_humor@programming.dev

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
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.1K users / day
  • 4.31K users / week
  • 8.73K users / month
  • 17.2K users / 6 months
  • 1 local subscriber
  • 23.1K subscribers
  • 1.31K Posts
  • 42.6K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org