<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Coding: Using &#8216;ToString&#8217;</title>
	<atom:link href="http://www.markhneedham.com/blog/2009/02/26/coding-using-tostring/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2009/02/26/coding-using-tostring/</link>
	<description>Thoughts on Software Development</description>
	<lastBuildDate>Sat, 11 Feb 2012 23:17:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Andrei Rinea</title>
		<link>http://www.markhneedham.com/blog/2009/02/26/coding-using-tostring/comment-page-1/#comment-37472</link>
		<dc:creator>Andrei Rinea</dc:creator>
		<pubDate>Fri, 21 May 2010 20:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=978#comment-37472</guid>
		<description>For debugging the most normal choice would be DebuggerDisplayAttribute : http://msdn.microsoft.com/en-us/library/system.diagnostics.debuggerdisplayattribute.aspx</description>
		<content:encoded><![CDATA[<p>For debugging the most normal choice would be DebuggerDisplayAttribute : <a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.debuggerdisplayattribute.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/system.diagnostics.debuggerdisplayattribute.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlo</title>
		<link>http://www.markhneedham.com/blog/2009/02/26/coding-using-tostring/comment-page-1/#comment-12097</link>
		<dc:creator>Carlo</dc:creator>
		<pubDate>Tue, 10 Mar 2009 21:53:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=978#comment-12097</guid>
		<description>Hi

Going back to the granddaddy of OO lanaguages, Smalltalk, I would say the intent of toString() is to answer a String representation as a developer would want to see it. In Smalltalk this method is often called printString.
displayString Smalltalk method answers a String representation as a user would want to see it.

So basically it has made explicit the different users. In Java I would create a different method for displaying purposes as you can&#039;t trust everyones interpretation of toString().</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Going back to the granddaddy of OO lanaguages, Smalltalk, I would say the intent of toString() is to answer a String representation as a developer would want to see it. In Smalltalk this method is often called printString.<br />
displayString Smalltalk method answers a String representation as a user would want to see it.</p>
<p>So basically it has made explicit the different users. In Java I would create a different method for displaying purposes as you can&#8217;t trust everyones interpretation of toString().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GaryA</title>
		<link>http://www.markhneedham.com/blog/2009/02/26/coding-using-tostring/comment-page-1/#comment-11217</link>
		<dc:creator>GaryA</dc:creator>
		<pubDate>Fri, 27 Feb 2009 09:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=978#comment-11217</guid>
		<description>The thing I hate about ToString() is that it&#039;s implemented inconsistently. Most objects just return the name of the class.  In most cases useless.  I think I&#039;d prefer a &#039;Not Implemented&#039; exception.</description>
		<content:encoded><![CDATA[<p>The thing I hate about ToString() is that it&#8217;s implemented inconsistently. Most objects just return the name of the class.  In most cases useless.  I think I&#8217;d prefer a &#8216;Not Implemented&#8217; exception.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dew Drop - February 26, 2009 &#124; Alvin Ashcraft's Morning Dew</title>
		<link>http://www.markhneedham.com/blog/2009/02/26/coding-using-tostring/comment-page-1/#comment-11076</link>
		<dc:creator>Dew Drop - February 26, 2009 &#124; Alvin Ashcraft's Morning Dew</dc:creator>
		<pubDate>Thu, 26 Feb 2009 14:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=978#comment-11076</guid>
		<description>[...] Wrapping DateTime and&#160;Coding: Using &quot;ToString&quot; (Mark [...]</description>
		<content:encoded><![CDATA[<p>[...] Wrapping DateTime and&#160;Coding: Using &quot;ToString&quot; (Mark [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dew Drop - February 26, 2009 &#124; Alvin Ashcraft's Morning Dew</title>
		<link>http://www.markhneedham.com/blog/2009/02/26/coding-using-tostring/comment-page-1/#comment-11077</link>
		<dc:creator>Dew Drop - February 26, 2009 &#124; Alvin Ashcraft's Morning Dew</dc:creator>
		<pubDate>Thu, 26 Feb 2009 14:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=978#comment-11077</guid>
		<description>[...] Wrapping DateTime and&#160;Coding: Using &quot;ToString&quot; (Mark [...]</description>
		<content:encoded><![CDATA[<p>[...] Wrapping DateTime and&#160;Coding: Using &quot;ToString&quot; (Mark [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

