classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The right way(tm) of writing toString() (Was: Re: [PATCH] Field posi


From: Victor Niebla
Subject: Re: The right way(tm) of writing toString() (Was: Re: [PATCH] Field position attribute handling)
Date: Wed, 03 Dec 2003 09:28:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031110 Debian/1.5-3

Dalibor Topic wrote:

Hi Tom,

Tom Tromey wrote:

"Dalibor" == Dalibor Topic <address@hidden> writes:



Dalibor> here's my attempt at writing a short passage on the Art of Writing Dalibor> toString methods. As everyone has written bazillions of them, it's a Dalibor> perfect subject for bikeshed type of discussions. Feel free to chip in
Dalibor> with your own bits of wisdom ;)

My bit of wisdom is: please put this in the classpath hacker's guide.
We really should be collecting these how-tos as part of our coding
standard, for all the usual reasons...


Thanks for your comment. I'll check it in tonight, with the chenges proposed by you and Victor.

Remember that the example that i used (with HttpURLConnection) was wrong.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]