The Rich, Flowers, and Piles of Sh%#t - And What To Do About It

The Rich, Flowers, and Piles of Sh%#t - And What To Do About It

tl;dr: the single responsibility pattern is a good idea.

A lightning talk discussion of the problem of preferential attachment in software development. Presented at the Boulder Ruby group.

Affa5b7b3a311fcf5f868859d586b410?s=128

shagemann

April 16, 2014
Tweet

Transcript

  1. THE RICH, FLOWERS, PILES OF S%#T — AND WHAT TO

    DO ABOUT IT Stephan Hagemann
  2. None
  3. None
  4. None
  5. https://en.wikipedia.org/wiki/Preferential_attachment

  6. …any of a class of processes in which some quantity,

    typically some form of wealth or credit, is distributed among a number of individuals or objects according to how much they already have, so that those who are already wealthy receive more than those who are not.
  7. …so that those who are already wealthy receive more than

    those who are not.
  8. None
  9. None
  10. None
  11. None
  12. None
  13. LARGE RAILS CODEBASES • browsercms • calagator • canvas-lms •

    citizenry • diaspora • engine • fat_free_crm • fulcrum • loc_counts • onebody • opencongress • opengovernment • portlandcrime • railscollab • rubygems.org • skyline • snorby • spot-us • spree • teambox • tracks
  14. find app/models lib -iname "*.rb" -type f -exec wc -l

    {} \; | sort -r | awk '{print $1}'
  15. None
  16. None
  17. None
  18. –Stephan Hagemann “So, what do you do about it?”

  19. BILL?

  20. BILL! 720000 kids

  21. FLOWERS?

  22. FLOWERS!

  23. YOUR CODE?

  24. YOUR CODE!

  25. START HERE: S ingle Responsibility Principle O L I D