Tag: Computer Science
All the articles with the tag "Computer Science".
-
The elements of programming style: Control Structure
Chapter 3: Control Structure A computer program is shaped by its data representation and the statements that determine its flow of control. These define the structure of a program. There is no sharp
-
The elements of programming style: Documentation
Chapter 8: Documentation The best documentation for a computer program is a clean structure. It also helps if the code is well formatted, with good mnemonic identifiers and labels (if any are needed),
-
The elements of programming style: Don't Be Too clever
Preface to the Second Edition The practice of computer programming has changed since The Elements of Programming Style first appeared. Programming style has become a legitimate topic of discussion.
-
The elements of programming style: Efficiency and instrumentation
Chapter 7: Efficiency and instrumentation Machines have become increasingly cheap compared to people; any discussion of computer efficiency that fails to take this into account is shortsighted.
-
The elements of programming style: Epilogue
Epilogue There are many good books on languages, algorithms and numerical methods available to those who want to learn programming in greater depth. Our goal was not to teach languages or algorithms,
-
The elements of programming style: Expressions
Chapter 2: Expressions Writing a computer program eventually boils down to wanting a sequence of statements in the language at hand. How each of those statements is expressed determines in large
-
The elements of programming style: Input and output
Chapter 5: Input and output Test input for validity and plausibility Make sure input cannot violate the limits of the program Terminate input by end-of-file or maker, not by count Identify bad input,
-
The elements of programming style: Program Structure
Chapter 4: Program Structure Most programs are too big to be comprehended as a single chunk. They must be divided into smaller pieces that can be conquered separately. That is the only way to write