grokking_simplicity/ch12

ch12

dz / grokking_simplicity / ch12

Summary

Grokking Simplicity Chapter 12: Functional Iteration

Node Tree

Nodes

functional_tools
content Functional Tools
children filter, map, reduce

map
content Map
children inline_anonymous_function, transforms_array_x_to_y
parents functional_tools

transforms_array_x_to_y
content Transforms some array X to Y using a function
parents map

inline_anonymous_function
content Inline Anonymous Function
children define_in_place, inline
parents map

define_in_place
content Defning it right in place where used
parents inline_anonymous_function

filter
content Filter
children subset_of_array (definition)
parents functional_tools

ways_to_pass_funcs_js
content Ways to pass functions in JS
children global, inline, local

inline
content Inline
parents ways_to_pass_funcs_js, inline_anonymous_function

global
content Global
parents ways_to_pass_funcs_js

local
content Local
parents ways_to_pass_funcs_js

subset_of_array
content Selects subset of elements in array
parents filter

reduce
content Reduce
children accumulates_value (definition), map_filter_implemented_reduce, neat_things_reduce
parents functional_tools

accumulates_value
content Accumulates value while iterating over array
parents reduce

neat_things_reduce
content Neat things that can be done with reduce
children audit_trails, replace_user_interaction, undo_redo
parents reduce

undo_redo
content Undo/Redo
parents neat_things_reduce

audit_trails
content Audit Trails
parents neat_things_reduce

replace_user_interaction
content Replay User Interaction
parents neat_things_reduce

map_filter_implemented_reduce
content Map/Filter can be implemented using reduce
children mutating_vs_nonmutating
parents reduce

mutating_vs_nonmutating
content Mutating vs non-mutating
parents map_filter_implemented_reduce