Coupling, with Joe Ferris

Hi, I’m guessing that the second approach is better because you now depend on yourself to supply the @text instance variable. This, technically, is coupling to yourself.

On the other hand, the @output_to_string(text.to_s) depends on passing a string from any kind of object. Thus, we open more possibilities of coupling.