Download presentation
Presentation is loading. Please wait.
Published byChristopher French Modified over 8 years ago
1
Kruse/Ryba Ch011 Object Oriented Data Structures Programming Principles Introduction Programming Style Coding, Testing, Further Refinement Program Maintenance Conclusions and Preview
2
Kruse/Ryba ch012 Introduction Problem Specification Program Design Choice of Data Structures Analysis of Algorithms Testing and Verification Program Correctness Maintenance C++
3
Kruse/Ryba ch013 Names (identifiers) Meaningful Simple when local Use common prefixes and suffixes Avoid intentional misspellings Avoid cute Avoid similar spellings Beware confusing letters Accounts_payable size loopIndex x
4
Kruse/Ryba ch014 Documentation Prologues for functions Explain variables Introduce significant sections Indicate ends of significant sections Avoid redundant comments Explain tricky code Documentation explains what not how Document Modifications /*************** * ****************/
5
Kruse/Ryba ch015 Format Spaces, blank lines, indentation Prettyprinting Consistency
6
Kruse/Ryba ch016 Refinement Subdivision Top-down refinement Specifications Plain and Simple Parameters –Input –Output –Inout Variables –Local –Global
7
Kruse/Ryba ch017 Coding, Testing, Further Refinement Stubs Drivers Program Tracing –Structured walkthroughs –Trace tools –Snapshots –Scaffolding –Static analyzer
8
Kruse/Ryba ch018 Testing Black-Box –Easy values –Typical, realistic values –Extreme values –Illegal values Glass-Box Ticking-Box
9
Kruse/Ryba ch019 Program Maintenance Solution within specifications? Correct under all conditions? Interface? Logically and clearly written? Well documented? Efficient use of time and space?
10
Kruse/Ryba ch0110 Chapter 1 Fades Away
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.