<?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: Creating JavaScript Classes, Part 1: Constructors (with screencast)</title>
	<atom:link href="http://livingmachines.net/2009/02/creating-javascript-classes-part-1-with-screencast/feed/" rel="self" type="application/rss+xml" />
	<link>http://livingmachines.net/2009/02/creating-javascript-classes-part-1-with-screencast/</link>
	<description>Test-driven development of a JavaScript MVC library, from the ground up...</description>
	<lastBuildDate>Sat, 07 Jan 2012 08:27:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: matt</title>
		<link>http://livingmachines.net/2009/02/creating-javascript-classes-part-1-with-screencast/comment-page-1/#comment-1184</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Thu, 15 Dec 2011 18:52:47 +0000</pubDate>
		<guid isPermaLink="false">http://livingmachines.net/?p=70#comment-1184</guid>
		<description>Hi I&#039;m From Brazil, unhappy in my language there&#039;s no very explain like this one!!!

Excellent Job! 
will be useful!
Thank you ; )</description>
		<content:encoded><![CDATA[<p>Hi I&#8217;m From Brazil, unhappy in my language there&#8217;s no very explain like this one!!!</p>
<p>Excellent Job!<br />
will be useful!<br />
Thank you ; )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: www.jancarloviray.com</title>
		<link>http://livingmachines.net/2009/02/creating-javascript-classes-part-1-with-screencast/comment-page-1/#comment-1157</link>
		<dc:creator>www.jancarloviray.com</dc:creator>
		<pubDate>Wed, 07 Dec 2011 09:40:10 +0000</pubDate>
		<guid isPermaLink="false">http://livingmachines.net/?p=70#comment-1157</guid>
		<description>wow.. very direct, yet clear explanation! I&#039;ve read a few articles regarding classes in JS, but this is the best one mainly because you try to distinguish that it is not a class, but a constructor function... It definitely helps me understand JavaScript a bit more instead of (subconsciously) understanding it through my C#/Java hat...</description>
		<content:encoded><![CDATA[<p>wow.. very direct, yet clear explanation! I&#8217;ve read a few articles regarding classes in JS, but this is the best one mainly because you try to distinguish that it is not a class, but a constructor function&#8230; It definitely helps me understand JavaScript a bit more instead of (subconsciously) understanding it through my C#/Java hat&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason S. Kerchner</title>
		<link>http://livingmachines.net/2009/02/creating-javascript-classes-part-1-with-screencast/comment-page-1/#comment-565</link>
		<dc:creator>Jason S. Kerchner</dc:creator>
		<pubDate>Fri, 22 Jan 2010 13:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://livingmachines.net/?p=70#comment-565</guid>
		<description>Hey Roman, yes you can create objects that way. I&#039;m more interested in creating classes.  A class is a &lt;strong&gt;description&lt;/strong&gt; of an object, something that tells JavaScript &lt;strong&gt;how&lt;/strong&gt; to create an object (what properties, methods, etc. is has). An object is an instance of a class, and an object instance is exactly what you&#039;ve created in your example. That&#039;s a fine way to do it, but it isn&#039;t re-usable. In other words, if you wanted to create an object for &lt;code&gt;jane&lt;/code&gt;, you&#039;d have to code the entire object again.</description>
		<content:encoded><![CDATA[<p>Hey Roman, yes you can create objects that way. I&#8217;m more interested in creating classes.  A class is a <strong>description</strong> of an object, something that tells JavaScript <strong>how</strong> to create an object (what properties, methods, etc. is has). An object is an instance of a class, and an object instance is exactly what you&#8217;ve created in your example. That&#8217;s a fine way to do it, but it isn&#8217;t re-usable. In other words, if you wanted to create an object for <code>jane</code>, you&#8217;d have to code the entire object again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://livingmachines.net/2009/02/creating-javascript-classes-part-1-with-screencast/comment-page-1/#comment-564</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Fri, 22 Jan 2010 09:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://livingmachines.net/?p=70#comment-564</guid>
		<description>Hi, thanks for great screencasts.
Here it is the my way of creating new objects

var joe = {
  firstName : &#039;Joe&#039;,
  lastName : &#039;Blow&#039;,
  getFullName : function() {
    return (this.firstName + &#039; &#039; + this.lastName);
  }
}</description>
		<content:encoded><![CDATA[<p>Hi, thanks for great screencasts.<br />
Here it is the my way of creating new objects</p>
<p>var joe = {<br />
  firstName : &#8216;Joe&#8217;,<br />
  lastName : &#8216;Blow&#8217;,<br />
  getFullName : function() {<br />
    return (this.firstName + &#8216; &#8216; + this.lastName);<br />
  }<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

