RailsConf 2016 - Get a Whiff of This by Sandi Metz

Поделиться
HTML-код
  • Опубликовано: 16 янв 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