RailsConf 2016 - Get a Whiff of This by Sandi Metz

Поділитися
Вставка
  • Опубліковано 17 січ 2025

КОМЕНТАРІ • 25

  • @gosukiwi
    @gosukiwi 8 років тому +29

    Awesome talk as always. She's the best!

  • @FranciscoQuintero
    @FranciscoQuintero 7 років тому +6

    Always learn something from Sandi.

  • @ismailm123
    @ismailm123 6 років тому +1

    Brilliant talk some really good points to take away, loved the categories of code smells

  • @baterchen
    @baterchen Рік тому

    Great talk! Tank you so much!

  • @danieldossantos8484
    @danieldossantos8484 8 років тому +4

    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 років тому +4

      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 років тому +9

      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.

  • @lucang534
    @lucang534 8 років тому +15

    I love her, ^^

  • @jowilson5581
    @jowilson5581 3 роки тому +2

    I feel like Sandi is slowly selling me on OO the more I see of her code, lol

  • @gwho
    @gwho 3 роки тому +1

    what's the book having code smells and their corresponding curative refactors called?

    • @MeaganWaller
      @MeaganWaller 3 роки тому +1

      Refactoring by Martin Fowler

  • @janetli6603
    @janetli6603 8 років тому +1

    Nice video!!

  • @elisson357
    @elisson357 7 років тому

    Great Talk. Anyone knows if we can download her slides anywhere?

  • @korytegman1252
    @korytegman1252 8 років тому +2

    anybody got a link to the budgeting reality video that she is talking about at about 25:30 ?

    • @dluzar
      @dluzar 8 років тому +3

      vimeo.com/53276460

  • @gwho
    @gwho 3 роки тому +1

    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*

  • @TwiztedHumor
    @TwiztedHumor 3 роки тому

    whoa! im loving these concepts! abusers Haha thank you!

  • @oppressivefistoftyranny1395
    @oppressivefistoftyranny1395 7 років тому

    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 років тому +1

    Man RailsConf you should really hire a new audio professional

  • @baterchen
    @baterchen Рік тому +3

    Just in case someone needs the pdf in the slide.
    www.industriallogic.com/img/blog/2005/09/smellstorefactorings.pdf