Blåhaj Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 4 个月前

Specifying file paths

lemmy.ml

message-square
120
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
1.42K

Specifying file paths

lemmy.ml

cm0002@lemmy.world to Programmer Humor@programming.dev · 4 个月前
message-square
120
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • SendMePhotos@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    4 个月前

    I don’t get it

    • Diplomjodler@lemmy.world
      link
      fedilink
      arrow-up
      66
      ·
      4 个月前

      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
        16
        ·
        4 个月前

        I understand pre-OS X Macintoshes used colons.

        • PNW_Doug@lemmy.world
          link
          fedilink
          arrow-up
          20
          ·
          4 个月前

          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
            ·
            4 个月前

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

        • azi@mander.xyz
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          4 个月前

          RISC OS uses periods and doesn’t have file extensions

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        4 个月前

        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
          4 个月前

          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
            ·
            4 个月前

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

            • dan@upvote.au
              link
              fedilink
              arrow-up
              4
              ·
              4 个月前

              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
                ·
                4 个月前

                Thanks!

    • mexicancartel@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      8
      ·
      4 个月前

      The lightsaber direction is like / \

      • Appoxo@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        4 个月前

        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.94K users / day
  • 4.68K users / week
  • 8.12K users / month
  • 16.6K users / 6 months
  • 457 local subscribers
  • 23.5K subscribers
  • 1.39K Posts
  • 45K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org