Large Software Systems Flashcards
how much of a programmers time is spend trying to understand the code
40-60%
what is the goal of code reading
to build a mental model
what are the systematic strategies for code reading
top down
bottom up
describe top down code reading
get an understanding of context and prior assumptions
describe bottom up code reading
start with individual statements
what types of knowledge do we aim for when code reading (3)
knowledge of the system
general technical knowledge
domain knowledge
how can we introduce new features in a large software system
planned downtime
run two copies of the server, update and test one
perform cut
each new line of code adds… (5)
maintenance
bug risk
time
testing
reviewing