Skip to content
Prev 304377 / 398503 Next

don't print object attributes

On 28/08/2012 2:16 PM, Liviu Andronic wrote:
I think it's reasonable to say it feels like a hack, because it is. x 
should have had a class and a print method for that class in the first 
place, if the attributes are not something that users should see.  If 
they are things you should see, then suppressing them is a bad idea.

Duncan Murdoch