ch14
dz / grokking_simplicity / ch14Summary
Grokking Simplicity Chapter 14: Functional Tools For Nested Data
Node Tree
Nodes
update | |
content | Update |
children | nested_update, replace_get_modify_set_with_update, update_definition (definition), needs |
update_definition | |
content | Takes function that operates on single value and apply it in-place inside of an objection |
parents | update |
needs | |
content | Needs |
children | object_to_modify, func_to_modify_value, key |
parents | update |
object_to_modify | |
content | object to modify |
parents | needs |
key | |
content | key |
parents | needs |
func_to_modify_value | |
content | Function to modify value |
parents | needs |
replace_get_modify_set_with_update | |
content | Replace get, modify, set, with update (refactoring) |
parents | update |
nested_update | |
content | Nested Update |
children | abstraction_barriers_deeply_nested_data, generalized_recursive_function |
parents | update |
generalized_recursive_function | |
content | Can be generalized as recursive function |
children | safe_recursion |
parents | nested_update |
abstraction_barriers_deeply_nested_data | |
content | Abstraction barriers on deeply nested data |
parents | nested_update |
safe_recursion | |
content | safe recursion |
children | one_recursive_case, progress_towards_base_case, base_case_to_stop |
parents | generalized_recursive_function |
base_case_to_stop | |
content | Base Case To Stop |
children | progress_towards_base_case |
parents | safe_recursion |
one_recursive_case | |
content | At least one recursive case |
parents | safe_recursion |
progress_towards_base_case | |
content | Progress towards base case |
parents | base_case_to_stop, safe_recursion |