But since stateless code is rare in Ruby, you may wonder if learning about self-mixins really bought us that much. As it turns out, the technique can also be used in more stateful scenarios when you ...
Recognize "code smells" that indicate the need for refactoring. Use modules to refactor away repetitious code. This is called the red, green, refactor pattern. First tests fail, then you write bad ...
Perl, Python, and Ruby modules can ease development for large projects, but Bash is simpler and better for many tasks Last week I talked a bit about how best to protect against the vagaries of human ...