But .txt is not the same as .rs; yet .txt is not the same as .docx, although both of these files look the same to the human eye.

  • Treczoks@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    Nope. Wrong. There are thousands of file types, and while a handful of them fall somehow under your four categories, most of them actually don’t.

    And calling .docx a “text file” is an insult to all honest text files.

    • ITGuyLevi@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      5 days ago

      I’d venture to say there is one data type, a record. At its more basic level every filesystem is a database, every file stored on the drive is a record in the database.

      I’m with you though, docx is not a text file… Much more like an xml file.