Chapter 24: Program structuring

View at publisher
Authors: Victor L. Eijkhout
Cited by: 0

Abstract

It should be clear that it is bad style to write a program that consists of a single file with all of its code in the main function. While it is possible that such a program gives the correct output, it does not convince the reader that it does so. Also, the chances of it actually giving the right output are smaller than if the code were written in a structured manner.

Fields of Study & Subjects

Software Engineering Research Software Engineering Techniques and Practices Logic programming and type systems

Publication details

Journal / source
Society for Industrial and Applied Mathematics eBooks
Pages
233–242
Publication date
19 January 2026
Language
EN
Document type
Book chapter