principles:single_level_of_abstraction
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
principles:single_level_of_abstraction [2014-07-01 10:40] – Example1: Loops christian | principles:single_level_of_abstraction [2020-10-07 05:54] – old revision restored (2020-09-09 15:26) 138.201.95.8 | ||
---|---|---|---|
Line 116: | Line 116: | ||
Now there are two smaller methods each of which is written in terms of a single level of abstraction. This is better readable as no mental grouping is necessary. Furthermore the two methods are still separately understandable ([[Principle of Separate Understandability|PSU]]) so no mental inlining is necessary and if you don't care about the details of the '' | Now there are two smaller methods each of which is written in terms of a single level of abstraction. This is better readable as no mental grouping is necessary. Furthermore the two methods are still separately understandable ([[Principle of Separate Understandability|PSU]]) so no mental inlining is necessary and if you don't care about the details of the '' | ||
+ | |||
+ | ==== Example2: Commented Code Blocks ==== | ||
+ | |||
+ | ==== Example3: Algorithms ==== | ||
+ | |||
===== Description Status ===== | ===== Description Status ===== |
principles/single_level_of_abstraction.txt · Last modified: 2021-10-18 22:03 by christian