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.
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.
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.
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.