From: Matthew Kerwin Date: 2012-07-09T15:20:00+09:00 Subject: Re: question: p expression On Sun, Jul 8, 2012 at 11:39 AM, smoothedatol412 @gmail.com > I have come from Java and a few other programming backgrounds and I am > use to the compiled langs, like C and Java. I like coding things > out the long way since it is easy to go back later on and easily find > that bug code that is creating problems for the program. On 9 July 2012 16:09, Robert Klemme wrote: > While I generally sympathize with that approach (making things > explicit) I don't agree in this particular case. You'll find "p var" > as easily as "puts var.inspect" - but it's far less typing. Not to mention the convenience (with a single extra require) of changing "p var" to "pp var", especially in the absence of var.pretty_inspect -- Matthew Kerwin, B.Sc (CompSci) (Hons) http://matthew.kerwin.net.au/ ABN: 59-013-727-651 "You'll never find a programming language that frees you from the burden of clarifying your ideas." - xkcd