Using views in a book on programming makes it possible to view the same program in different languages in a simple way.

As an example, consider the classic Hello, world program, written in C. You can see this program, and with some clicks compare it to the corresponding programs in Java and Python, in a Section named Say Hello, in the book Into Programming.

Advertisements