Chapter 19. Programming Design

Introduction

Programs need to be planned before the actual programming begins. A little planning up front will save time and frustration later.

For beginners, the hardest part is learning to think like a computer. There are a few basic concepts that will help.

First, a computer performs instructions one step at a time. Second, the computer does not have previous knowledge about the problem to be solved. Third, the computer needs to be told everything step by step, and it only knows what you tell it.

All computer programs do the same thing. They instruct a computer to accept data (input), to manipulate the data (process), and to produce reports or information back to a user (output).

So where do you start? Start by answering ...

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.