<?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: lisp</title>
	<atom:link href="http://imprompt.us/2006/lisp/feed/" rel="self" type="application/rss+xml" />
	<link>http://imprompt.us/2006/lisp/</link>
	<description>Computer Science and Teaching and Other Ancillary Things</description>
	<lastBuildDate>Sat, 31 Mar 2012 15:41:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: agthorr</title>
		<link>http://imprompt.us/2006/lisp/comment-page-1/#comment-16698</link>
		<dc:creator>agthorr</dc:creator>
		<pubDate>Sat, 03 Oct 2009 04:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://imprompt.us/2006/lisp/#comment-16698</guid>
		<description>&lt;p&gt;Erg.  Your comments sytem really needs a preview button and a way to include formatting text :-)&lt;/p&gt;&lt;p&gt;I actually hit &lt;tab&gt;&lt;enter&gt; as part of coding and didn&#039;t mean to submit that yet.  The __init__() function was supposed to also store the args and kw arguments.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Erg.  Your comments sytem really needs a preview button and a way to include formatting text <img src='http://imprompt.us/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I actually hit &lt;tab&gt;&lt;enter&gt; as part of coding and didn&#39;t mean to submit that yet.  The __init__() function was supposed to also store the args and kw arguments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul_Berry</title>
		<link>http://imprompt.us/2006/lisp/comment-page-1/#comment-97</link>
		<dc:creator>Paul_Berry</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://imprompt.us/2006/lisp/#comment-97</guid>
		<description>&lt;p&gt;I like the idea of having a lot of immutable data structures.  I would add to that the idea that it should be easy to create immutable data structures of your own.  I am constantly wanting to do this in C#, and it is a pain.  You have to do something like this:&lt;/p&gt;&lt;p&gt;class ImmutablePoint&lt;br /&gt;{&lt;br /&gt;  int m_x;&lt;br /&gt;  int m_y;&lt;br /&gt;  int x { get { return m_x; } }&lt;br /&gt;  int y { get { return m_y; } }&lt;br /&gt;  ImmutablePoint(int x, int y)&lt;br /&gt;  {&lt;br /&gt;    m_x = x;&lt;br /&gt;    m_y = y;&lt;br /&gt;  }&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;Incidentally, I think part of the problem with types (and the reason many people feel ambivalent about them) is that many languages force you to do a lot of extra typing (no pun intended) in order to tell the compiler about each data structure.  What you really want to say is &quot;Listen, compiler, an ImmutablePoint is a pair of ints, called &#039;x&#039; and &#039;y&#039;, and it never changes once constructed.&quot;  And get on with your programming.&lt;/p&gt;&lt;p&gt;I think I&#039;ll ivent a programming language with the &quot;#listen_compiler&quot; directive.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I like the idea of having a lot of immutable data structures.  I would add to that the idea that it should be easy to create immutable data structures of your own.  I am constantly wanting to do this in C#, and it is a pain.  You have to do something like this:</p>
<p>class ImmutablePoint<br />{<br />  int m_x;<br />  int m_y;<br />  int x { get { return m_x; } }<br />  int y { get { return m_y; } }<br />  ImmutablePoint(int x, int y)<br />  {<br />    m_x = x;<br />    m_y = y;<br />  }<br />}</p>
<p>Incidentally, I think part of the problem with types (and the reason many people feel ambivalent about them) is that many languages force you to do a lot of extra typing (no pun intended) in order to tell the compiler about each data structure.  What you really want to say is &#8220;Listen, compiler, an ImmutablePoint is a pair of ints, called &#8216;x&#8217; and &#8216;y&#8217;, and it never changes once constructed.&#8221;  And get on with your programming.</p>
<p>I think I&#8217;ll ivent a programming language with the &#8220;#listen_compiler&#8221; directive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: agthorr</title>
		<link>http://imprompt.us/2006/lisp/comment-page-1/#comment-98</link>
		<dc:creator>agthorr</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://imprompt.us/2006/lisp/#comment-98</guid>
		<description>&lt;p&gt;I wonder if it&#039;s possible to make lazy() function for Python that works something like this:&lt;/p&gt;&lt;p&gt;&lt;pre&gt;&lt;br /&gt;class lazy:&lt;br /&gt;    def __init__(self, function, *args, **kw):&lt;br /&gt;        self.function = function&lt;/p&gt;&lt;p&gt;&lt;br /&gt;    def __getattr__(self, k):&lt;br /&gt;        # evaluate function(*args, **kw)  and remember the return value (self.rv)&lt;br /&gt;        # return self.rv.__getattr__(k)&lt;br /&gt;&lt;/pre&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I wonder if it&#8217;s possible to make lazy() function for Python that works something like this:</p>
<p>&lt;pre&gt;<br />class lazy:<br />    def __init__(self, function, *args, **kw):<br />        self.function = function</p>
<p>    def __getattr__(self, k):<br />        # evaluate function(*args, **kw)  and remember the return value (self.rv)<br />        # return self.rv.__getattr__(k)<br />&lt;/pre&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: agthorr</title>
		<link>http://imprompt.us/2006/lisp/comment-page-1/#comment-99</link>
		<dc:creator>agthorr</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://imprompt.us/2006/lisp/#comment-99</guid>
		<description>&lt;p&gt;Erg.  Your comments sytem really needs a preview button and a way to include formatting text :-)&lt;/p&gt;&lt;p&gt;I actually hit &lt;tab&gt;&lt;enter&gt; as part of coding and didn&#039;t mean to submit that yet.  The __init__() function was supposed to also store the args and kw arguments.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Erg.  Your comments sytem really needs a preview button and a way to include formatting text <img src='http://imprompt.us/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I actually hit &lt;tab&gt;&lt;enter&gt; as part of coding and didn&#8217;t mean to submit that yet.  The __init__() function was supposed to also store the args and kw arguments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Boothe</title>
		<link>http://imprompt.us/2006/lisp/comment-page-1/#comment-100</link>
		<dc:creator>Peter Boothe</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://imprompt.us/2006/lisp/#comment-100</guid>
		<description>&lt;p&gt;&quot;Your comments sytem really needs a preview button and a way to include formatting text&quot;&lt;/p&gt;&lt;p&gt;Too much work to do it just once.  See my comments idea for more info on how it should really be done.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>&#8220;Your comments sytem really needs a preview button and a way to include formatting text&#8221;</p>
<p>Too much work to do it just once.  See my comments idea for more info on how it should really be done.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

