Mixins: A refactoring anti-pattern.
I’ve often seen people say that mixins simplify their code. In my latest blog post, I demonstrate that while mixins may make things more DRY, they don’t make it more simple.
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!
I’ve often seen people say that mixins simplify their code. In my latest blog post, I demonstrate that while mixins may make things more DRY, they don’t make it more simple.
Comments
As they say… one learns throughout life, but you cannot turn back in time. You can always upgrade by correcting your mistakes and moving forward.
Post a comment