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
    18
    arrow-down
    1
    ·
    3 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
      2
      ·
      2 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.