Programming Basics: How to Write Source Code and Loops


show more All computer code does the same thing: it takes an input, and generates an output. However, the nature of input and output has changed a lot since the early days of computing, especially in the age of code embedded in websites. And what about persistence, which is the preservation of data after the program has shut done? This Lynda.com Foundations of Programming online video discusses these key topics, and more. show less
please wait ...

Input/output and persistence

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

Input/output and persistence
Video duration: 3m 6s 4h 47m Beginner

Viewers:

All computer code does the same thing: it takes an input, and generates an output. However, the nature of input and output has changed a lot since the early days of computing, especially in the age of code embedded in websites. And what about persistence, which is the preservation of data after the program has shut done? This Lynda.com Foundations of Programming online video discusses these key topics, and more.

Subjects:
Developer Web
Author:
please wait ...