The venerable “mixin” is a technique I learned as a Python developer. Now, after writing Ruby code for the past year, I’m excited to compare how these two languages approach mixins, including similarities, differences, and traps. There will be code! Table of Contents What is a Mixin? Mixins in Python Adding Instance Methods Adding Class Methods Trap: The Order of Superclasses Matters! Adding Insta