<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for leisulin</title><link>http://disqus.com/by/leisulin/</link><description></description><atom:link href="http://disqus.com/leisulin/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 28 Sep 2011 09:52:10 -0000</lastBuildDate><item><title>Re: My Small Breasts and I</title><link>http://topdocumentaryfilms.com/my-small-breasts/#comment-321723671</link><description>&lt;p&gt;My previous girlfriend had very small breasts, not really any bigger than a man's "breasts".  However, I thought they were extremely sexy, because since they were so small, she never wore a bra because a bra would have had almost no effect, and when I say almost I mean the ONLY effect would have been to conceal her nipples a little bit more.  Which meant that her nipples were a little more visible through her blouse than they would have been otherwise, which added to their sexiness.  And you could more easily see or divine the outline of her breasts through her blouse, but it didn't look "cheap", it looked great.  So, to all you girls out there thinking of getting a boob job:  DON'T DO IT!  They're probably beautiful the way they are!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">leisulin</dc:creator><pubDate>Wed, 28 Sep 2011 09:52:10 -0000</pubDate></item><item><title>Re: Object Oriented Programming in JavaScript</title><link>http://mckoss.com/jscript/object.htm#comment-15234121</link><description>&lt;p&gt;Referring to your example near the beginning where you explain prototypes, I was not understanding how the interpreter digs up the property values from the prototype objects when the time comes.  But now I think I see what's really going on:&lt;/p&gt;&lt;p&gt;inB:  it's actually attached to x as a property directly (x.inB)&lt;/p&gt;&lt;p&gt;inBProto:  it's not found on x directly, but the interpreter knows to look on B.prototype to find it; it needs to know the identity of B, which is its own constructor, and then it looks on that object's prototype object and finds it like this:&lt;br&gt;x.constructor.prototype.inBProto&lt;/p&gt;&lt;p&gt;inA:  again not a member of x, but it's also a member of B.prototype, and will be found here:&lt;br&gt;x.constructor.prototype.inA&lt;/p&gt;&lt;p&gt;inAProto:  this one's in A's prototype, so we should have to look here:&lt;br&gt;x.constructor.prototype.constructor.prototype.inAProto&lt;/p&gt;&lt;p&gt;inObj:  found on &lt;br&gt;x.constructor.prototype.constructor.prototype.constructor.prototype.inObj&lt;/p&gt;&lt;p&gt;I typed all of those expressions in in place of the shorter versions, and they all still displayed the same result:  1, 2, 3, 4, 5.  So somewhere internally, when the interpreter is looking up a property name, it probably does something like this:  try finding it on the object, no dice?, try it on theObject.constructor.prototype, no dice?, keep inserting another constructor.prototype in the middle there until that newly added prototype object itself is undefined, meaning of course that the property can't possibly be attached to it, so the ultimate result is undefined.  Am I finally getting this?&lt;/p&gt;&lt;p&gt;What I DON'T get is the code on page 33 of Javascript:  The Good Parts, which is heavily related to this discussion:  &lt;br&gt;Function.prototype.method = function(name,func) {&lt;br&gt;      this.prototype[name] = func;&lt;br&gt;      return this;&lt;br&gt;}&lt;/p&gt;&lt;p&gt;This is designed to let you add methods without the "ugliness" of the prototype keyword in there.  So, Function now has a new method method added to its prototype.  But next, Mr. Crockford immediately shows how to define an integer method of Number:&lt;br&gt;Number.method('integer', function() {&lt;br&gt;      return Math[this &amp;lt; 0 ? 'ceiling' : 'floor'](this);&lt;br&gt;});&lt;br&gt;which he puts into use immediately with:&lt;br&gt;document.writeln((-10/3).integer());&lt;br&gt;which prints "-3".&lt;/p&gt;&lt;p&gt;I'm having some major mental block here.  We seem to be executing a method of Number called "method", and the implication is that Number got this method from the Function.prototype's method method.  Does Number "inherit" from Function?  It surely inherits from Object, but from Function?  Would someone please help me out here?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">leisulin</dc:creator><pubDate>Sat, 22 Aug 2009 12:42:37 -0000</pubDate></item></channel></rss>