Episode #113: p

Do you ever use puts for debugging? Don't be shy, I do it too. Even Aaron Patterson uses puts to debug. It's simple, easy to remember, and always available. But as a debugging aid, puts has some drawbacks as well. In this episode, you'll learn about some of those limitations. And then you'll learn about an alternative that's also simple, also easy to remember, also always available... and is specifically included in Ruby to make adding debug output quicker, safer, and more revealing than with puts. Enjoy!

This page is just for members. Sign in or subscribe to gain access!