I am re-watching some talks by Sandy Metz just to sort my thoughts and I think it works.

"All the Little Things" about applying SOLID by using small, interchangeable objects https://www.youtube.com/watch?v=8bZh5LMaSmE

"Get a Whiff of This" about code smells and how to derive actionable recipes for refactoring from them: https://www.youtube.com/watch?v=PJjHfa5yxlU

#objectorienteddesign #oop #ruby

RailsConf 2014 - All the Little Things by Sandi Metz

Theory tells us to build applications out of small, interchangeable objects but reality often supplies the exact opposite. Many apps contain huge classes of ...

YouTube

I totally forgot about flog and reek. Everything old is new again. These tools are about detecting complexity and finding code smells in your #ruby code.

https://github.com/troessner/reek
https://github.com/seattlerb/flog

#ruby

GitHub - troessner/reek: Code smell detector for Ruby

Code smell detector for Ruby. Contribute to troessner/reek development by creating an account on GitHub.

GitHub
@ahx RuboCop implements a bunch of complexity metrics as well, btw.
@bbatsov @ahx unfortunately it also wastes a staggering amount of my time complaining about my efforts to make code more readable.
@geeksam @ahx Nothing’s ever perfect. 😅
@bbatsov @ahx but if I format my code JUST SO I can pretend, okay? Just leave me in my little fantasy world. 😜