Why plain text?
Most people who have lived through multiple editions of operating systems and word processors would inevitably have come across a file corrupted due to age or a file that is too old for a ‘modern’ version of their word processor to open. If you have not yet come across one of those, you will eventually.
These problems almost always happen because different programmes store data about formatting and media in different, often proprietary, methods. These are, in turn, always gibberish to the human eye and make sense only to computers that have specific software installed. This is intentional. It means -- even if you do not realise it straightaway -- that you need far too many moving parts to work together for a seemingly simple rich text file to function.
Plain text takes all of that away, as we have already seen, leaving each file with the bare minimum: a bunch of characters that a computer can almost directly understand and which, in any case, any computer can read without proprietary software.
Consequences
For all these reasons plain text files offer numerous advantages:
- Accessibility
- Plain text can be read by almost any computer without a supporting application or, at least, even with a basic text editor
- Focus on content
- Because you do not have to worry about formatting, page numbering, font sizes etc., writing plain text forces you to focus on the content
- Transparency and predictability
- With plain text you get what you see, you save what you see, and both you and the computer are one level way from understanding each other, which means no misunderstandings. Plain text hides nothing, and everything is transparent. Everything is also predictable because your word processor is not busy making minor changes to things you have typed without your explicit command
- Portability
- No reliance on special apps means you can take your plain text files everywhere -- your MacBook, your friend’s Windows PC, your Linux server, your toaster hooked up to a Raspberry Pi can all read your plain text file just the same, no additional steps needed
- Malleability
- Plain text files can be turned into other files and formats and designs. If you want a PDF to prepare handouts for your talk based on your presentation, both the presentation and handout can come from the same plain text file, which can also become your talk notes
- Version control and history
- When you make changes, word processors these days can track them. While plain text files cannot inherently track who made what change, it lends itself very well to tracking changes in general with a sidekick folder and a one-time set-up. How was your document five seconds ago, a day ago, five months ago or twelve years ago? Which one of you deleted that crucial line or added that other one? You can maintain a version history recording changes minutely and chronologically, stretching back decades, and even move between any number of versions, all while having file sizes smaller than most formatted documents
- Ownership
- Nobody owns plain text, so there is never going to be any threat of your documents becoming inaccessible or having to change due to factors beyond your control
Plain text files are therefore sturdy and capable. They are reliable, portable, convertible, extensible, versioned, simple, incredibly fast and worry-free. Once you understand all that, reaching for plain text files for almost everything you want to do becomes second nature -- and that is a good thing.
This document is part of the plain text lesson plan. If you are ready, you can proceed to the next lesson.