Chapter 1.2

Printing, Strings, and Streams

"There is no such thing as luck; there is only adequate or inadequate preparation to cope with a statistical universe."

Robert A. Heinlein, Have Space Suit---Will Travel

Now that you've got an idea of what Lisp is all about and you have your development environment configured to your liking, we can get moving on some real, practical code.

At the end of the day, no matter what the program you're working on does, at some point you will have to give something back to the user. The more interactive the program, the more data will be going back and forth between the user and your program. And users love interactivity---they like to know just how long a set of tasks will take, they want to see updates to data in real-time, they want feedback.

Since development in Lisp is so inherently interactive, it makes sense to think about your programs this way too. So we will be starting our exploration of Common Lisp with the core language features that underlie input and output: printing, strings, and streams.

Exercises:

results matching ""

    No results matching ""