• TrickDacy@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    14 hours ago

    I use either term. “Directory” is a weird term honestly. I accept it and use it often, but folder finds does make more sense honestly.

    • ∃∀λ@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      6 hours ago

      Folder is better. On disk, a folder is a list of pairs of a name and number, mapping the items in the folder to their location on the disk i.e. it’s a directory. The days before computerization are before my time, but, as I understand it, library index cards worked this way. You might have a card for each author which listed the books by that author with the location of the index card on that book, and you might have directory cards on subjects or keywords too, and the card on a book might point to the location of the book on the shelf and the card for the author, etc., or something like that. It would be most confusing to call these directory cards “folders”. The computer does the same thing internally, but the user interface has hidden away any notion of directory. They’re logically folders. It’s only a directory if you’re writing a file system implementation.

    • ian@feddit.uk
      link
      fedilink
      English
      arrow-up
      13
      ·
      edit-2
      9 hours ago

      Yes, a directory is a list of items. Like a telephone directory. A folder is a container of items.

      In 2009 I added Folder to the Wikipedia page Directory (computing) Explaining the Folder Metaphor in both English and German (Verzeichnis/Ordner). My clarification has been tweaked and altered slightly to bring it into line with Wikipedia standards, but it has stood the test of time.

      I always use the term folder in Linux circles when referring to a container of things. It’s useful to stress the importance of the user interface, which is often misunderstood by many there. Be proud!

      • TrickDacy@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        8 hours ago

        Firstly, thank you for your contributions to Wikipedia. And yeah those are the two ways I’ve thought of those terms. What’s weird to me is that saying “directory” to refer to the containing object does sound like you’re referring to just the listing itself, as you said, which is ever-changing metadata and to my knowledge that is not stored in/on the folder itself, it would be in the …whatever equivalent of file allocation tables are now. But, since so many people say directory I’ve learned to use it interchangeably with folder. Directory feels more technical and somehow more closely attached to the concept of a path. I dunno, words are weird!