• Takumidesh@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    25 days ago

    Well an uppercase ASCII char is a different char than its lowercase counterpart. I would argue that not differentiating between them is an arbitrary rule that doesn’t make any sense, and in many cases, is more computationally difficult as it involves more comparisons and string manipulations (converting everything to lower case).

    And the result is that you ultimately get files with visually distinct names, that aren’t actually treated as distinct, and so there is a disconnect from how we process information and how the computer is doing it.

    ‘A’ != ‘a’, they are just as unequal as ‘a’ and ‘b’

    Edit: I would say the use case is exactly the same as programming case sensitivity, characters have meaning and capitalizing them has intent. Casing strategies are immensely prevalent in programming and carry a lot of weight for identifying programmers’ intent (properties vs backing fields as an example) similar intent can be shown with file names.

    • Kissaki@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      25 days ago

      Case insensitive handling protects end-users from doing “bad” things and confusion.

      • Saleh@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        25 days ago

        I work with a lot of users and a lot of files in my job.

        I don’t remember a single case, where someone had an issue because of upper- or lowercase confusions.