Back to forgotten roots

34be88398f623c109b61d23e8215bd23?s=47 Mariusz Gil
February 26, 2017

Back to forgotten roots

Slides from my "Back to the roots" talk, performed at Boilings Frogs 2017, the software craftsmanship conference.

34be88398f623c109b61d23e8215bd23?s=128

Mariusz Gil

February 26, 2017
Tweet

Transcript

  1. BACK TO FORGOTTEN RootS Mariusz Gil [ source ministry ]

    @mariuszgil
  2. None
  3. START The

  4. HoW

  5. Microservices

  6. Serverless

  7. Nosql

  8. lambda function

  9. solid principles

  10. design patterns

  11. object oriented programming

  12. Grasp principles

  13. SSDD/HDD

  14. None
  15. None
  16. Build & use toolbox. Wisely

  17. Too trivial to implement Too Complex to maintain

  18. OVER ENGINEERED since day 1

  19. WhaT

  20. None
  21. oo violations

  22. DIG DIG DIG

  23. None
  24. interface ItemProvider { ... } interface ItemFilter { ... }

    class MostPopular implements ItemProvider { ... } class RecentlyPopular implements ItemProvider { ... } class Random implements ItemProvider { ... } class Promoted implements ItemProvider { ... } class CollaborativeFiltering implements ItemProvider { ... } class Clicked implements ItemFilter { ... } class Capping implements ItemFilter { ... } class Outdated implements ItemFilter { ... } class SimilarNameDuplication implements ItemFilter { ... } class RecommenderService { ... public function generate($limit = 5) { $items = $provider->get($limit * 2); foreach ($this->filters as $filter) { $items = $filter->filter($items); } if ($items->length() < $limit) { $items = $items->add($refill->get($limit)); } return $items->unique()->limit($limit); } }
  25. None
  26. step back, to see more

  27. GRASP General responsibility assignment softw are patterns

  28. 19 95

  29. 20 04

  30. Days vs months

  31. TDD/RDD

  32. None
  33. Define & solve problem Using right tools

  34. WhY

  35. V ALUE The

  36. None
  37. Solve right problem

  38. WhY noT

  39. Solve problem worth to solve

  40. we use ... to build ... foR ... to help

    with ...
  41. LearN

  42. BACK TO FORGOTTEN Mariusz Gil RootS [ source ministry ]

    @mariuszgil