Avoiding Junk-Drawer Classes in Ruby
We’ve all seen classes bloat over time and become junk-drawers of loosely-related methods. This post discusses the underlying cause of the junk-drawer problem and how we can avoid it by taking a cue from Elixir.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
We’ve all seen classes bloat over time and become junk-drawers of loosely-related methods. This post discusses the underlying cause of the junk-drawer problem and how we can avoid it by taking a cue from Elixir.
Post a comment