Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
matthiasv
· 8y ago · 0 comments
The point was about the user-facing side not the internal representation of state.
Comments
[–]
vortico
8y ago
Even then, it seems weird to prefer a big flat state rather than a state made of heirarchical sub-structures and arrays.
[–]
yason
8y ago
As the user of the library I
probably
don't care about the hierarchies. If I want X the library can provide me a function to get X by looking up its internal substructures and arrays so that I don't have to.