When “Don’t Repeat Yourself” Makes Code Worse – Learning Elixir And Re-learning Recursion

Thanks to a conversation with Erik Schön, I was learning Elixir while waiting for my plane back from DevLin 2025. I decided to go through the Roman numeral kata to slowly get into Elixir. When the algorithm was coming together I hit this interesting moment where I saw a lot of repetition, and asked Claude …