<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://mg.to" xmlns:dc="https://purl.org/dc/elements/1.1/">
<channel>
 <title>mg.to - A Dog named dog? - Comments</title>
 <link>https://mg.to/2004/08/09/a-dog-named-dog</link>
 <description>Comments for &quot;A Dog named dog?&quot;</description>
 <language>en</language>
<item>
 <title>Ooops. Got here from a post citing this one on a blog largely co</title>
 <link>https://mg.to/2004/08/09/a-dog-named-dog#comment-26</link>
 <description>&lt;p&gt;Ooops. Got here from a post citing this one on a blog largely concerned with RDF, and I read this with RDF thoughts in my head and didn&amp;#8217;t cop-on that it was OO conventions being described. I look kinda stupid now after the last post. Also, my examples were treated as partly mark-up. Aw well, another lesson about not posting comments with insufficient blood-caffeine.&lt;/p&gt;</description>
 <pubDate>Fri, 03 Sep 2004 02:18:42 +0000</pubDate>
 <dc:creator>Jon Hanna</dc:creator>
 <guid isPermaLink="false">comment 26 at https://mg.to</guid>
</item>
<item>
 <title>In both   &quot;Dog&quot; and   &quot;Mike&quot; the capitals are safely on the name</title>
 <link>https://mg.to/2004/08/09/a-dog-named-dog#comment-25</link>
 <description>&lt;p&gt;In both   &amp;#8220;Dog&amp;#8221; and   &amp;#8220;Mike&amp;#8221; the capitals are safely on the names as they should be. Even in the case where the objects are resources rather than literals it&amp;#8217;s the predicate we conventionally begin with miniscule letters which relate to the &amp;#8220;was&amp;#8221; and &amp;#8220;named&amp;#8221; in your natural-language examples, the objects would conventionally begin with majuscule letters.&lt;/p&gt;</description>
 <pubDate>Fri, 03 Sep 2004 02:14:26 +0000</pubDate>
 <dc:creator>Jon Hanna</dc:creator>
 <guid isPermaLink="false">comment 25 at https://mg.to</guid>
</item>
<item>
 <title>A PascalCase named camelCase
</title>
 <link>https://mg.to/2004/08/09/a-dog-named-dog#comment-24</link>
 <description>&lt;p&gt;&lt;strong&gt;A PascalCase named camelCase&lt;/strong&gt;&lt;/p&gt;</description>
 <pubDate>Fri, 27 Aug 2004 11:38:08 +0000</pubDate>
 <dc:creator>Web Log di Adrian Florea</dc:creator>
 <guid isPermaLink="false">comment 24 at https://mg.to</guid>
</item>
<item>
 <title>mmhh.. interesting. maybe because a the naming convention has be</title>
 <link>https://mg.to/2004/08/09/a-dog-named-dog#comment-23</link>
 <description>&lt;p&gt;mmhh.. interesting. maybe because a the naming convention has been chosen by architects, who prefer classes and not by developers, who use instances. classist? :)&lt;/p&gt;</description>
 <pubDate>Wed, 18 Aug 2004 16:00:31 +0000</pubDate>
 <dc:creator>Marco P</dc:creator>
 <guid isPermaLink="false">comment 23 at https://mg.to</guid>
</item>
<item>
 <title>That must be it. Just for fun, I tried writing a few lines of co</title>
 <link>https://mg.to/2004/08/09/a-dog-named-dog#comment-22</link>
 <description>&lt;p&gt;That must be it. Just for fun, I tried writing a few lines of code using &amp;#8220;&lt;code&gt;Dog&lt;/code&gt; is a &lt;code&gt;dog&lt;/code&gt;&amp;#8221; notation, and it didn&amp;#8217;t look right at all. So it&amp;#8217;s back to &amp;#8220;&lt;code&gt;dog&lt;/code&gt; is a &lt;code&gt;Dog&lt;/code&gt;.&amp;#8221; :-)&lt;/p&gt;</description>
 <pubDate>Wed, 11 Aug 2004 01:18:07 +0000</pubDate>
 <dc:creator>Michael Geary</dc:creator>
 <guid isPermaLink="false">comment 22 at https://mg.to</guid>
</item>
<item>
 <title>Because that convention is for naming persons,</title>
 <link>https://mg.to/2004/08/09/a-dog-named-dog#comment-21</link>
 <description>&lt;p&gt;Because that convention is for naming persons,
not things. The opposite convention in programming feels right probably because we are used to it, and real-life convention for things -
&amp;#8220;the book&amp;#8221; is an object, &amp;#8220;a book&amp;#8221; is a class -
does not fit in programming.&lt;/p&gt;</description>
 <pubDate>Tue, 10 Aug 2004 00:07:13 +0000</pubDate>
 <dc:creator>Artem</dc:creator>
 <guid isPermaLink="false">comment 21 at https://mg.to</guid>
</item>
<item>
 <title>A Dog named dog?</title>
 <link>https://mg.to/2004/08/09/a-dog-named-dog</link>
 <description>&lt;p&gt;In many programming languages, it&amp;#8217;s a popular convention&amp;#151;or even a language rule&amp;#151;that class names begin with a capital letter and class instances begin with a lowercase letter. For example, you might have a &lt;code&gt;Dog&lt;/code&gt; class and a particular instance of that class named &lt;code&gt;dog&lt;/code&gt;. In other words, you have a &lt;code&gt;Dog&lt;/code&gt; named &lt;code&gt;dog&lt;/code&gt;, and &lt;code&gt;dog&lt;/code&gt; is a &lt;code&gt;Dog&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I just accepted that as the normal state of affairs, until I read my daughter her new book &lt;a href=&quot;https://www.amazon.com/exec/obidos/tg/detail/-/0811822478&quot;&gt;&lt;em&gt;Just Dog&lt;/em&gt;&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Just Dog&lt;/em&gt; begins:&lt;/p&gt;

&lt;blockquote&gt;&amp;#8220;Dog was a dog and that&amp;#8217;s what everyone called him. Dog. Just Dog.&amp;#8221;&lt;/blockquote&gt;

&lt;p&gt;Now wait a minute. The story doesn&amp;#8217;t say &lt;code&gt;dog&lt;/code&gt; is a &lt;code&gt;Dog&lt;/code&gt;, it says Dog is a dog.&lt;/p&gt;

&lt;p&gt;Come to think of it, I&amp;#8217;m not a &lt;code&gt;Person&lt;/code&gt; named &lt;code&gt;mike&lt;/code&gt;, I&amp;#8217;m a person named Mike.&lt;/p&gt;

&lt;p&gt;So why do we use a naming convention in programming that is the exact opposite of how we name things in the real world?&lt;/p&gt;

&lt;p&gt;And even more puzzling, why does it feel right?&lt;/p&gt;
</description>
 <comments>https://mg.to/2004/08/09/a-dog-named-dog#comments</comments>
 <category domain="https://mg.to/topics/programming">Programming</category>
 <pubDate>Mon, 09 Aug 2004 23:15:16 +0000</pubDate>
 <dc:creator>Michael Geary</dc:creator>
 <guid isPermaLink="false">12 at https://mg.to</guid>
</item>
</channel>
</rss>
