Talking About IO
“IO” can mean a lot of different things, so let’s start the discussion by establishing a bit of terminology. In this book, there are three different ways that we’ll use the term “IO.” In the most general sense, we’ll use the term IO to talk about the general concept of a program interacting with the outside world by doing things like reading files or writing stuff to the screen. Exactly what you’d expect.
Slightly more specifically than general IO are IO Actions. You’ll learn more about these throughout this chapter, but for now you can think of it like this: IO is a general concept of doing some input or output. An IO action is a specific example of your program taking some action to do IO. In other words, “reading a file” ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access