Which is the preferred way?

I see that “p” is the same as “puts”. Which would
most programs use in a program?

Jeff

Jeffrey B. wrote:

I see that “p” is the same as “puts”. Which would
most programs use in a program?
It’s not the same - p foo is equivalent to puts foo.inspect. They’re
used for different things; p is for debugging output, puts for general
text display.