Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Psuedocodin'
- ---
- ## Learning Objectives
- In the conext of our Tic-Tac-Toe exercise let's:
- 1. Understand the utility of stubbing out functions and writing architecture diagrams.
- 2. Use an organizational pattern to reason about our programs.
- ---
- ## A Pictoral Representation
- Let's take a look at this ->
- ---
- ## Ok
- So we got
- * a `render` function that is passed state.
- * an `update` function that is called on `click` event which updates state
- Whenever state is updated we also update our view.
- ---
- ## What Does This Psuedocode Look Like?
- ---
- Let's look at some code...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement