Chapter 18. Programming Constructs

Introduction

To create a program using the programming language of your choice, you must first understand the problem to be solved. This requires a generic set of tools that are not specific to any programming language. Having a set of logical tools at your disposal will not only help you design a solution, but will also help you understand existing programs. These tools will illustrate the logical flow of a program design.

Programming constructs are logical tools that can be used to create an algorithm, or logical steps, for your program. This chapter will give you an idea of how to programmatically solve problems. Various programming constructs are discussed in this chapter.

We will start with the most basic construct ...

Get UNIX® User’s Handbook, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.