buguibu / ios-notes-issues-lessons

Notes, issues and lessons about my iOS development experience
2 stars 0 forks source link

Values to the rescue of complexicity #6

Open buguibu opened 5 years ago

buguibu commented 5 years ago

https://academy.realm.io/posts/andy-matuschak-controlling-complexity/

Maximise the value layer.

Objects behaves and respond. Values are dead.

Value: inert data Identity: values related in time State: an identity's value at a certain time

The value layer takes the logic & the object layer takes the action.

The object layer is were the danger things occur, but a solid value layer can be easily tested, so we must move as much as we can our functionality to that value layer.