On Aug 28, 2013, at 6:13 PM, Mike Duigou <mike.dui...@oracle.com> wrote:
> > On Aug 28 2013, at 11:48 , Martin Buchholz wrote: > >> This isn't just about hashCode - I'm not sure why you are singling it out. >> What about toString? > > A reasonable point. The bug reports are just about as common for toString() > being "broken" for self-referential collections. <oldfogey> *ahem* Y'know, Common Lisp had a good solution for printing self-referential structures (by a user-extensible print function) back in 1984. It leaned on the solution that had been provided in Interlisp in 1974. On a machine with one megabyte of main memory and a speed of 1 MIPS. This is not rocket science. </oldfogey>