5 Review: documentation Flashcards
types of developers’ documentation
- data dictionaries + algorithms for design
- system flowcharts + IPO diagrams + DFDs + structure charts for system modeling
documentation…
should be ongoing throughout software development cycle
each stage…
requires documentation, should be retained + updated when new changes made
test data
created to ensure the correct operation of algorithms, reused to test source code’s performance
- will be reused by future maintenance programmers
documentation developed in one stage…
used as information for next stage
- e.g. top-down design created for guide on algorithm writing
why should documentation be retained
for future maintenance, modifications, features
- retained even after completion of project
internal documentation
for the use of developers
- does not affect translation process
what counts as internal documentation
use of identifiers which explain their purpose: intrinsic documentation
- intrinsic: belonging to/part of; meaningful identifiers are functional parts of code
comments: used to describe purpose of code + logic of processes
- can also be used to document programmers + date of code written
readability of code
- comments help explain the purpose of unusual/difficult processes
- white space/empty lines to provide contrast between logical blocks of code
- indentation
function of documentation for users
teaches users about the operation of the product
documentation for users could include
installation + reference guides, manuals, tutorials
- can be printed or online(and linked to application’s online help system)
online help
provided by most commercial applications
- help files
advantage of online help
content extensive