<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.eiffelroom.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>eiffelroom - A plea for nested classes (sarcastic) - Comments</title>
 <link>http://www.eiffelroom.org/blog/colin_adams/a_plea_for_nested_classes_sarcastic</link>
 <description>Comments for &quot;A plea for nested classes (sarcastic)&quot;</description>
 <language>en</language>
<item>
 <title>Made my day</title>
 <link>http://www.eiffelroom.org/blog/colin_adams/a_plea_for_nested_classes_sarcastic#comment-125</link>
 <description>&lt;p&gt;Martin,&lt;/p&gt;

&lt;p&gt;your just made my day (; Very nice quote!&lt;/p&gt;

&lt;p&gt;Andreas&lt;/p&gt;

</description>
 <pubDate>Fri, 16 Mar 2007 02:25:14 -0700</pubDate>
 <dc:creator>aleitner</dc:creator>
 <guid isPermaLink="false">comment 125 at http://www.eiffelroom.org</guid>
</item>
<item>
 <title>sarcastic post, informative reply</title>
 <link>http://www.eiffelroom.org/blog/colin_adams/a_plea_for_nested_classes_sarcastic#comment-123</link>
 <description>&lt;p&gt;Knowing that you don&#039;t like inline agents, I indeed understood that this post was sarcastic. But being sarcatic should not prevent from getting some informative replies. There is always something to learn, even from a thread that started by sarcastic post.&lt;/p&gt;

</description>
 <pubDate>Tue, 13 Mar 2007 11:57:05 -0700</pubDate>
 <dc:creator>ericb</dc:creator>
 <guid isPermaLink="false">comment 123 at http://www.eiffelroom.org</guid>
</item>
<item>
 <title>nested classes</title>
 <link>http://www.eiffelroom.org/blog/colin_adams/a_plea_for_nested_classes_sarcastic#comment-122</link>
 <description>&lt;p&gt;I think tuples are in many ways to classes what inline agents are to features. Although the latter is more powerful.&lt;/p&gt;

&lt;p&gt;-- mTn-_-|&lt;/p&gt;

</description>
 <pubDate>Tue, 13 Mar 2007 11:26:29 -0700</pubDate>
 <dc:creator>mtn</dc:creator>
 <guid isPermaLink="false">comment 122 at http://www.eiffelroom.org</guid>
</item>
<item>
 <title>I didn&#039;t get the sarcasm.</title>
 <link>http://www.eiffelroom.org/blog/colin_adams/a_plea_for_nested_classes_sarcastic#comment-121</link>
 <description>&lt;p&gt;I didn&#039;t get the sarcasm. The title is misleading and might confuse others as it did confuse me.&lt;/p&gt;

</description>
 <pubDate>Tue, 13 Mar 2007 10:53:00 -0700</pubDate>
 <dc:creator>bayt</dc:creator>
 <guid isPermaLink="false">comment 121 at http://www.eiffelroom.org</guid>
</item>
<item>
 <title>Explanation</title>
 <link>http://www.eiffelroom.org/blog/colin_adams/a_plea_for_nested_classes_sarcastic#comment-120</link>
 <description>&lt;p&gt;I had hoped that my postscript was sufficient to indicate that this post was sarcastic.&lt;/p&gt;

&lt;p&gt;There is no need for nested classes, any more than there is a need for nested function (inline agents).&lt;/p&gt;

</description>
 <pubDate>Tue, 13 Mar 2007 09:28:00 -0700</pubDate>
 <dc:creator>colin-adams</dc:creator>
 <guid isPermaLink="false">comment 120 at http://www.eiffelroom.org</guid>
</item>
<item>
 <title>Put all classes in one file</title>
 <link>http://www.eiffelroom.org/blog/colin_adams/a_plea_for_nested_classes_sarcastic#comment-119</link>
 <description>&lt;p&gt;There is no need for nested classes in order to avoid having to write multiple files: just put all classes in the same file. I don&#039;t remember whether this is allowed or not in ECMA/ISO Eiffel, but it was in ETL2 and it is implemented in Visual Eiffel. The Gobo Eiffel Tools library has an option to parse several classes in the same file as well. Allowing having several classes in the same file makes the compiler slower (in the same way it is slower when allowing to put classes in files whose name is different from &#039;classname.e&#039;). But it will be very convenient if one day we have an EiffelScript language.&lt;/p&gt;

</description>
 <pubDate>Tue, 13 Mar 2007 09:08:55 -0700</pubDate>
 <dc:creator>ericb</dc:creator>
 <guid isPermaLink="false">comment 119 at http://www.eiffelroom.org</guid>
</item>
<item>
 <title>A plea for nested classes (sarcastic)</title>
 <link>http://www.eiffelroom.org/blog/colin_adams/a_plea_for_nested_classes_sarcastic</link>
 <description>&lt;p&gt;I was pleased to see that EiffelStudio 6.0 now eliminates the need for an ECF file - all you need to do is supply the name of a root class, and it will compile your program for you.&lt;/p&gt;

&lt;p&gt;This opens up some fascinating possibilities.&lt;/p&gt;

&lt;p&gt;Thanks to the ECMA committee, we already have nested functions: &lt;div class=&quot;geshifilter eiffel&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;class&lt;/span&gt; TEST&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;create&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; make&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;feature&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; make &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;is&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- Execute test.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print &lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;agent&lt;/span&gt; &lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#40;&lt;/span&gt;a, b, c, x: REAL_64&lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#41;&lt;/span&gt;: REAL_64&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- Agent to evaluate ax^2 + bx +c&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #800080;&quot;&gt;Result&lt;/span&gt; := a * &lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;agent&lt;/span&gt; &lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#40;&lt;/span&gt;y: REAL_64&lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#41;&lt;/span&gt;: REAL_64&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- Agent to evaluate y^2&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #800080;&quot;&gt;Result&lt;/span&gt; := y * y&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #000060;&quot;&gt;item&lt;/span&gt; &lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#91;&lt;/span&gt;x&lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#41;&lt;/span&gt; + b * x + c&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #000060;&quot;&gt;item&lt;/span&gt; &lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;3.0&lt;/span&gt;, &lt;span style=&quot;color: #FF0000;&quot;&gt;-2.5&lt;/span&gt;, &lt;span style=&quot;color: #FF0000;&quot;&gt;7.09&lt;/span&gt;, &lt;span style=&quot;color: #FF0000;&quot;&gt;5.6&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;Now, if we could only have nested classes too, we wouldn&#039;t need to write multiple files, one for each class, we could just write the entire program in one class.&lt;/p&gt;

&lt;p&gt;So come on ECMA - please give us nested classes too.&lt;/p&gt;

&lt;p&gt;P.S. While you are at it, how about self-modifying agents? I miss the days of my assembler-coding youth.&lt;/p&gt;

</description>
 <comments>http://www.eiffelroom.org/blog/colin_adams/a_plea_for_nested_classes_sarcastic#comments</comments>
 <category domain="http://www.eiffelroom.org/tag/ecma">Ecma</category>
 <category domain="http://www.eiffelroom.org/tag/inline_agents">Inline agents</category>
 <pubDate>Tue, 13 Mar 2007 07:37:56 -0700</pubDate>
 <dc:creator>colin-adams</dc:creator>
 <guid isPermaLink="false">138 at http://www.eiffelroom.org</guid>
</item>
</channel>
</rss>
