• atx_aquarian@lemmy.world
    link
    fedilink
    arrow-up
    38
    ·
    edit-2
    5 hours ago

    Fun fact, though: Linux is the only case-sensitive one.

    Edit: I feel silly for forgetting that it’s all about the choice of FS. If anyone needs anything from me, I’ll be in the corner, coloring.

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      1
      ·
      14 minutes ago

      I once ran into a bug in an Arduino program where it wouldn’t compile. The author blamed my “broken environment”. Turned out, he had included “arduino.h” instead of the correct “Arduino.h”.

    • Localhorst86@feddit.org
      link
      fedilink
      arrow-up
      27
      ·
      3 hours ago

      From a technical standpoint, the windows NTFS filesystem is designed inherently case sensitive, just windows doesn’t allow creating case sensitive files.

      Connecting an NTFS drive to linux, you can create two separate files readme.txt and Readme.txt.

      Using windows, you can see both files in the filesystem, but chances are most (if not all) software will struggle accessing both files, opening readme.txt might instead open Readme.txt or vice versa.

      • pixelscript@lemm.ee
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 hours ago

        For a few years now, Windows has had the capability of marking certain directories as case-sensitive. So you can have a mixed-case-sensitivity filesystem experience now. Yeah. :/

      • SaharaMaleikuhm@feddit.org
        link
        fedilink
        arrow-up
        12
        arrow-down
        1
        ·
        3 hours ago

        Case-insensitive filesystems are for maniacs. They are only causing trouble. Ever had two folders with the same name but different capitalization in windows? You see both, but whichever you click it will always open the same one, while the other can’t be accessed. Psychopath behavior.

        • ahornsirup@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          50 minutes ago

          That’s because NTFS isn’t case-insensitive. If it was there’d be no two folders. Windows is a case-insensitive operating system running on a case-sensitive file system. It’s pretty clear Microsoft wanted case sensitivity and then realised how much legacy software that’d break.

      • Trainguyrom@reddthat.com
        link
        fedilink
        English
        arrow-up
        10
        ·
        4 hours ago

        Makes changing the case of a file/folder a lot easier though. Windows you have to rename it to something else then rename it again just to change case but Linux you can just…rename it. It’s a small thing but it’s something

      • paperplane@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        5 hours ago

        When case insensitivity is the default I always wonder how many apps unknowingly rely on that due to typos somewhere. I encountered this once while porting a Windows/macOS app to Linux that someone imported a module with the wrong case and nobody noticed