Slide 1

Slide 1 text

THE RICH, FLOWERS, PILES OF S%#T — AND WHAT TO DO ABOUT IT Stephan Hagemann

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

https://en.wikipedia.org/wiki/Preferential_attachment

Slide 6

Slide 6 text

…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.

Slide 7

Slide 7 text

…so that those who are already wealthy receive more than those who are not.

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

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

Slide 14

Slide 14 text

find app/models lib -iname "*.rb" -type f -exec wc -l {} \; | sort -r | awk '{print $1}'

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

–Stephan Hagemann “So, what do you do about it?”

Slide 19

Slide 19 text

BILL?

Slide 20

Slide 20 text

BILL! 720000 kids

Slide 21

Slide 21 text

FLOWERS?

Slide 22

Slide 22 text

FLOWERS!

Slide 23

Slide 23 text

YOUR CODE?

Slide 24

Slide 24 text

YOUR CODE!

Slide 25

Slide 25 text

START HERE: S ingle Responsibility Principle O L I D