Presentations
Templates
Features
Teams
Pricing
Log in
Sign up
Log in
Sign up
Menu
Refactoring
w/ Siman & Thomas
Outils/Formation#load_results
It's going down !
https://gist.github.com/petrachi/7be3f1a75097d2ceca4e
Were we left
Membre > SujetContext
MetasujetDecorator
PackvideomembreDecorator
Were we are now ?
Sandi Metz should be happy !
Super clean controller
Super clean view
https://gist.github.com/petrachi/e09e22ea6dcd85be7f82
So, where is the code ?
So, where is the code ?
To what objects this button is linked ?
Let's look in the models if this is a data-related bug
Let's look in the decorator if this is a looking-related bug
Not fully convinced ?
It was easy to debug ...
... but I don't understand how the code works ...
... and how or when this method is called ?
well...
SRP FTW !
What next ?
Push to prod ... to continue.
Refactoring w/ siman
By Thomas Petrachi
Made with Slides.com
Refactoring w/ siman
1,316
Thomas Petrachi
More from
Thomas Petrachi