Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Programming is all about input and output, but what that means has changed over the years. You go back a few decades and the idea was simple. The only programs we used were what were called batch programs. You started the program like it was a food processor. You'd be giving a file of data for input, you'd let the program process all of it and spit out the results to another file or even directly to the printer, and then the program stopped. You did not interact with the program as it was running. The closest thing to this for most people now is a few command line programs or the occasional utility like doing a full virus scan of a hard drive.
Things which are designed to run and finish as fast as possible, but instead the shift is to programs that run with graphical user interfaces. Things like a web browser that don't just start and run all the way through and stop as quickly as possible, but they are programs that stay up. We can interact with these continuously and unpredictably over hours or even days or even weeks. And with these input and output is a bit vague. Well, yes, a mouse-click is input, something typed in a webpage is input, and changing an image on the screen is output.
But that doesn't really feel the same as saving and loading files, because sometimes we still want to be able to save documents to the hard drive or load files from the hard drive or save information to the web. So describing just everything as input and output becomes a little generic. So when we talk about really saving information, running a program that then saves information to our documents folder or saves to a database or saves to the web or saves to a cloud, and I mean data that outlives the currently running program, meaning that we could close the program and that data would still be on the drive or in the database or in the cloud, then we use the term persistence. And we also refer to this as saving the state of a program. Because without deciding to persist, our data it all just disappears.
Get unlimited access to all courses for just $25/month.Become a member
61 Video lessons · 96174 Viewers
56 Video lessons · 109982 Viewers
71 Video lessons · 78783 Viewers
131 Video lessons · 37796 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.