complex is easy it s simple which is hard sarah
play

COMPLEX IS EASY , ITS SIMPLE WHICH IS HARD SARAH TARAPOREWALLA - PowerPoint PPT Presentation

COMPLEX IS EASY , ITS SIMPLE WHICH IS HARD SARAH TARAPOREWALLA TECH PRINCIPAL @sarahtarap @sarahtarap Lets Explore Complexity in the Real World 1 How does it happen? 2 The One About The Checkbox 3 The One About The Fortress 4


  1. COMPLEX IS EASY , IT’S SIMPLE WHICH IS HARD

  2. SARAH TARAPOREWALLA TECH PRINCIPAL @sarahtarap @sarahtarap

  3. Let’s Explore Complexity in the Real World 1 How does it happen? 2 The One About The Checkbox 3 The One About The Fortress 4 The One About The Article 5 The One about the Pricing Rules 6 3 @sarahtarap

  4. Complexity in the Real World @sarahtarap

  5. @sarahtarap Photo courtesy of https://www. fl ickr.com/photos/chiropractic/3732497731/

  6. @sarahtarap Photo courtesy of https://www.lamayor.org/mayor-garcetti-unveils-new-easy-read-parking-signs

  7. @sarahtarap Photo courtesy of hhttps://www.rd.com/advice/saving-money/grocery-shopping-mistakes-that-are-wasting-money/

  8. @sarahtarap Photo courtesy of https://commons.wikimedia.org/wiki/File:Vein_art_near.png

  9. @sarahtarap Photo courtesy of http://www.stjohnnsw.com.au/

  10. @sarahtarap Photo courtesy of https://www.crowdrise.com/handsonlycpr

  11. @sarahtarap CYNEFIN FRAMEWORK 11 Photo courtesy ofhttps://en.wikipedia.org/wiki/Cyne fi n_framework#/media/File:Cyne fi n_framework,_February_2011_(2).jpeg

  12. How does it happen? @sarahtarap

  13. 2 6 8 @sarahtarap

  14. 2 6 8 1 3 4 @sarahtarap

  15. 2 6 8 1 3 4 2 5 7 @sarahtarap

  16. 2 6 8 1 3 4 2 5 7 5 8 11 @sarahtarap

  17. 2 6 8 1 3 4 x < y < z 2 5 7 5 8 11 @sarahtarap

  18. @sarahtarap Photo courtesy of https://cdn.pixabay.com/photo/2014/03/24/17/16/brain-295291_960_720.png

  19. @sarahtarap Photo courtesy of https://betterhumans.coach.me/cognitive-bias-cheat-sheet-55a472476b18

  20. @sarahtarap

  21. @sarahtarap

  22. The One About The Checkbox @sarahtarap

  23. SIMPLE CODE MANIFESTO Inheritance over Composition If-Then-Else Matchers over Primitives Tiny Types over Fat Objects over SRP Mixed Concerns over Decorators @sarahtarap 23

  24. starapor @sarahtarap

  25. @sarahtarap BOY SCOUT RULE Photo courtesy of http://disney.wikia.com/wiki/Russell

  26. REFACTOR RED GREEN REFACTOR @sarahtarap 26

  27. REFACTOR RED REFACTOR GREEN REVERT REFACTOR REFACTOR COMMIT @sarahtarap 27

  28. GOOD CITIZEN Trailing commas in lists _matcher = new Matcher<Player> 
 { 
 { p => p.InPenaltyBox(), ReducePenaltyTime }, 
 { p => p.WearingAHat(), RemoveTheHat }, 
 { p => true, PlayARound }, 
 }; Brackets { } around conditionals public void TakeTurn(Player player) 
 { 
 if (player.InPenaltyBox()) 
 { 
 ReducePenaltyTime(); 
 } 
 } @sarahtarap 28

  29. INTENTION REVEALING INTERFACES IFooHandler => IHandleLotsOfFoos IGameRepository => ICanFindTheGame @sarahtarap 29

  30. @sarahtarap SIDE-EFFECT FREE CODE 30 Photo courtesy of https://xkcd.com/326/

  31. @sarahtarap SQUINT TEST Photo courtesy of https://upload.wikimedia.org/wikipedia/en/7/7b/Snellen-myopia.png

  32. S Simple Code Manifesto @sarahtarap

  33. The One About The Fortress @sarahtarap

  34. @sarahtarap JOB SECURITY 34 Photo courtesy of https://imgur.com/gallery/08Zxbv0

  35. OPENNESS & COLLABORATION @sarahtarap 35

  36. O Openness and Collaboration @sarahtarap

  37. The One About The Article @sarahtarap

  38. DOMAIN DRIVEN DESIGN @sarahtarap 38

  39. @sarahtarap UBIQUITOUS LANGUAGE 39 Photo courtesy of http://pngimg.com/download/51770

  40. @sarahtarap BOUNDED CONTEXTS 40 Photo courtesy of https://martinfowler.com/bliki/BoundedContext.html

  41. DOMAIN DRIVEN DESIGN @sarahtarap 41

  42. DOMAIN DRIVEN DESIGN @sarahtarap 42

  43. U Ubiquitous Language & DDD @sarahtarap

  44. The One About The Legacy @sarahtarap

  45. @sarahtarap EXPLAIN YOUR SYSTEM Photo courtesy of http://evan.bottch.com/wp-content/uploads/2010/06/whiteboard.jpg

  46. SIMON BROWN’S C4 MODEL @sarahtarap

  47. @sarahtarap DESIGN-ON-A-POST-IT Photo courtesy of http://evan.bottch.com/wp-content/uploads/2010/06/whiteboard.jpg

  48. P Post-it Design @sarahtarap

  49. The One About The Pricing Rules @sarahtarap

  50. GENERALISE SPECIALISE @sarahtarap

  51. S Specialise to Generalise @sarahtarap

  52. To Recap @sarahtarap

  53. Manifesto O S Collaboration U DDD P Design S Openness Ubiquitous Simple Code Post-it Specialise to and Language & Generalise @sarahtarap

  54. Manifesto O S Collaboration U DDD P Design S Openness Ubiquitous Simple Code Post-it Specialise to and Language & Generalise SARAH TARAPOREWALLA @sarahtarap @sarahtarap

  55. Q&A @sarahtarap

  56. THANKS FOR LISTENING @sarahtarap | me@sarahtaraporewalla.com

Recommend


More recommend