RailsConf 2016 - Get a Whiff of This by Sandi Metz

  Рет қаралды 48,294

Confreaks

Confreaks

Күн бұрын

Get a Whiff of This by Sandi Metz
Most code is a mess. Most new requirements change existing code. Ergo, much our work involves altering imperfect code.
That's the bad news.
The good news is that every big mess consists of many small ones. Certain small problems occur so frequently that they've been given names, and are collectively known as "Code Smells".
This talk shows how to take a pile of perplexing code, identify the "smells", and surgically apply the curative refactorings. It breaks a messy problem into clear-cut pieces, and proves that you can fix anything without being forced to understand everything.
Help us caption & translate this video!
amara.org/v/JkoP/

Пікірлер: 25
@gosukiwi
@gosukiwi 8 жыл бұрын
Awesome talk as always. She's the best!
@FranciscoQuintero
@FranciscoQuintero 6 жыл бұрын
Always learn something from Sandi.
@ismailm123
@ismailm123 5 жыл бұрын
Brilliant talk some really good points to take away, loved the categories of code smells
@baterchen
@baterchen Жыл бұрын
Great talk! Tank you so much!
@lucang534
@lucang534 8 жыл бұрын
I love her, ^^
@janetli6603
@janetli6603 7 жыл бұрын
Nice video!!
@danieldossantos8484
@danieldossantos8484 8 жыл бұрын
I am having a hard time trying to understand how the message chain was solved. Because she keeps calling where(something).sum(otherthing) inside of Sale.total(something). But I love how she thinks of OO and I love even more that she shares it with us.
@nuttanart
@nuttanart 8 жыл бұрын
From my understanding, it's solved because Sale itself knows "where" and "sum" anyway. It doesn't matter how many dots exist in the chain as long as it doesn't introduce more knowledge(coupling) to Sale.
@Aupajo
@Aupajo 7 жыл бұрын
Because Sale only has to know about itself ("where") and one other object (the one returned by "where", which has a "sum" method - in Rails, this object would be equivalent to an instance of ActiveRecord::Relation). So Foo has gone from knowing about two objects - Sale and the object returned by "where" - to just Sale. This means that, for instance, if the API for the object returned by "where" changed, only Sale would have to be updated.
@elisson357
@elisson357 6 жыл бұрын
Great Talk. Anyone knows if we can download her slides anywhere?
@jowilson5581
@jowilson5581 3 жыл бұрын
I feel like Sandi is slowly selling me on OO the more I see of her code, lol
@gwho
@gwho 3 жыл бұрын
what's the book having code smells and their corresponding curative refactors called?
@MeaganWaller
@MeaganWaller 3 жыл бұрын
Refactoring by Martin Fowler
@korytegman1252
@korytegman1252 8 жыл бұрын
anybody got a link to the budgeting reality video that she is talking about at about 25:30 ?
@dluzar
@dluzar 8 жыл бұрын
vimeo.com/53276460
@TwiztedHumor
@TwiztedHumor 3 жыл бұрын
whoa! im loving these concepts! abusers Haha thank you!
@gwho
@gwho 3 жыл бұрын
most people against OO don't truly know OO, and are attacking a strawman or frankenstein procedural OO. They can't see past their limited use cases and how OO provides more flexibility. Just like how graph databases allow you to do everything a table database can, but more... but some people object, saying, why would you need those other features? *facepalm*
@oppressivefistoftyranny1395
@oppressivefistoftyranny1395 6 жыл бұрын
She had a chance to use penultimate and didn't take it. First time I haven't approved of Sandi Metz. Josh Susser would also disapprove.
@benmaniu
@benmaniu 8 жыл бұрын
Man RailsConf you should really hire a new audio professional
@baterchen
@baterchen 10 ай бұрын
Just in case someone needs the pdf in the slide. www.industriallogic.com/img/blog/2005/09/smellstorefactorings.pdf
Polly want a message Sandi Metz
40:32
Sandi Metz
Рет қаралды 20 М.
Baruco 2013: Rules, by Sandi Metz
35:28
Barcelona Ruby Conference
Рет қаралды 29 М.
WHY DOES SHE HAVE A REWARD? #youtubecreatorawards
00:41
Levsob
Рет қаралды 42 МЛН
ONE MORE SUBSCRIBER FOR 6 MILLION!
00:38
Horror Skunx
Рет қаралды 15 МЛН
ELE QUEBROU A TAÇA DE FUTEBOL
00:45
Matheus Kriwat
Рет қаралды 32 МЛН
WHY IS A CAR MORE EXPENSIVE THAN A GIRL?
00:37
Levsob
Рет қаралды 18 МЛН
Refactoring Is Not Just Clickbait - Kevlin Henney - NDC London 2023
1:07:25
Rails Conf 2013 The Magic Tricks of Testing by Sandi Metz
32:23
Confreaks
Рет қаралды 121 М.
RailsConf 2015 - Nothing is Something
35:53
Confreaks
Рет қаралды 29 М.
hafentalks #7 - Sandi Metz: "Go Ahead, Make a Mess"
40:01
InVision AG
Рет қаралды 12 М.
RailsConf 2014 - All the Little Things by Sandi Metz
38:47
Confreaks
Рет қаралды 169 М.
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Рет қаралды 2,8 МЛН
Карточка Зарядка 📱 ( @ArshSoni )
0:23
EpicShortsRussia
Рет қаралды 650 М.
i love you subscriber ♥️ #iphone #iphonefold #shortvideo
0:14