Guest User

Untitled

a guest
Nov 13th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. # November Katas
  2.  
  3. ## Algorithms
  4.  
  5. #### Binary Search
  6.  
  7. #### Quick Sort
  8.  
  9. #### Breadth-first Search
  10.  
  11. #### Depth-first Search ```Maybe```
  12.  
  13. ## Domain Driven Design
  14.  
  15. Below is an example of some ```JSON``` that represents a Customer. The problem with this model is that it doesn't enforce any invariants. For example, a `string` is used to represent a `phoneNumber`. However, a `string` has an infinite amount of possible values. A `phoneNumber` has a certain format (`###-###-####` in this case), so it has significantly fewer possible values. There are also "flags" that being used to tell, for example, if an email address has been verified or not.
Add Comment
Please, Sign In to add comment