Follow
Publications: 118 | Followers: 1

wrapup

Publish on Category: Birds 0

Key Concepts
Overall goal: reduce complexityDependenciesObscurityGood design is an investmentTactical vs. strategic programmingComplexity is incremental: zerotoleranceAbstraction: find simple ways tothink about complicated thingsInformation hidingInterface vs. implementationClasses should be deep
General-purpose classes are deeperDifferent layers should have different abstractionsPull complexity downwardComments should describe things that aren’t obvious from the codeComments are at a different level of precision than codeNames matter!Define errors out of existenceCode should be obvious
CS 190 Lecture Notes: Wrapup
Slide1
CS 190 Lecture Notes: Wrapup
Slide2
Red Flags
Shallow classesInformation leakageDependenciesConjoined methods/classesTemporal decompositionPass-through methodsCode duplicationSpecial casesInconsistencies
Comment duplicates codeImplementation contaminates interface documentationDocumentation has to belong to be completeVague namesCode is not obvious

0

Embed

Share

Upload

Make amazing presentation for free
wrapup