Summary

This chapter returned you to programming theory by showing you how to write programs that you can more easily maintain. Before coding, sketch out your logic with flowchart diagrams, especially tricky, and convert your flowcharts into pseudocode to ensure that your logic is correct and complete. With structured programming techniques, you help clarify the code that you write. If you or another programmer must later make changes, those changes are far more easily implemented when you've written structured code. One of the ways that you determine whether a program has bugs or not is by following the testing techniques described in this chapter. Then, if your code needs debugging, you will appreciate the power of today's language debugging ...

Get Absolute Beginner's Guide to Programming, 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.