ch11
dz / grokking_simplicity / ch11Summary
Grokking Simplicity Chapter 11: First Class Functions Part 2
Node Tree
Nodes
refactoring_COW | |
content | refactoring copy-on-write |
children | arrays |
arrays | |
content | arrays |
children | replace_body_with_callback |
parents | refactoring_COW |
replace_body_with_callback | |
content | Replace Body With Callback |
children | standardizes_COW_arrays, group_with_one_copy |
parents | arrays |
standardizes_COW_arrays | |
content | Codifies/Standardizes copy-on-write for arrays |
children | function_factories (similar idea shared: "codifying" and standard) |
parents | replace_body_with_callback |
group_with_one_copy | |
content | Group Operations Together with one copy. Faster. |
parents | replace_body_with_callback |
return_funcs_from_funcs | |
content | Returning functions from functions |
children | function_factories, remove_duplication_cost_readability, wraplogging |
wraplogging | |
content | WrapLogging(f) |
parents | return_funcs_from_funcs |
function_factories | |
content | Function Factories: Automate creation of functions, codify a standard |
parents | standardizes_COW_arrays, return_funcs_from_funcs |
remove_duplication_cost_readability | |
content | Can remove code duplication at the cost of readability |
parents | return_funcs_from_funcs |