RailsConf 2014 - All the Little Things by Sandi Metz
Confreaks · 7 位 HN 用户推荐 · 2016–2021
This is a great presentation about refactoring that may be useful: "RailsConf 2014 - All the Little Things by Sandi Metz" [link]
— there4, 2016This talk is such an amazing example of clear thinking: [link]
— xwvvvvwx, 2016* Sandi Metz going through the Gilded Rose or "All the small things" [link]
— tinco, 2016> Code duplication is far cheaper than the wrong abstraction. [link]
— lojack, 2018The first thing that's drilled into a new programmer is DRY. It's easy to understand and it works reasonably well. The next step up seems to be knowing when _not_ to roll stuff up, and how to tell when you're looking at a distinct piece of logic that needs to be reified into it's own entity or function. EDIT: The Sandi Metz talk I mentioned: [link]
— d4mi3n, 2019It’s a great little video for showing junior developers how a messy bit of code can be cleaned up with a few well chosen OOP patterns (and a set of unit tests to cover your ass). [0] [link]
— adamkl, 2020All the little things [link]
— andrei_says_, 2021