<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://95.179.246.60/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Make_your_own_object_initialization</id>
	<title>Make your own object initialization - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://95.179.246.60/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Make_your_own_object_initialization"/>
	<link rel="alternate" type="text/html" href="http://95.179.246.60/mediawiki/index.php?title=Make_your_own_object_initialization&amp;action=history"/>
	<updated>2026-05-08T12:44:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>http://95.179.246.60/mediawiki/index.php?title=Make_your_own_object_initialization&amp;diff=65&amp;oldid=prev</id>
		<title>Nmingott: imported material</title>
		<link rel="alternate" type="text/html" href="http://95.179.246.60/mediawiki/index.php?title=Make_your_own_object_initialization&amp;diff=65&amp;oldid=prev"/>
		<updated>2025-05-03T23:25:42Z</updated>

		<summary type="html">&lt;p&gt;imported material&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* STARTED&lt;br /&gt;
* How do you make a new object instance ? Usually you call &amp;lt;code&amp;gt;new&amp;lt;/code&amp;gt;.&lt;br /&gt;
* If you don&amp;#039;t define &amp;lt;code&amp;gt;new&amp;lt;/code&amp;gt; yourself and no other superclasses will, new will be found in the &amp;#039;&amp;#039;&amp;#039;Behavior&amp;#039;&amp;#039;&amp;#039; class where there is also &amp;lt;code&amp;gt;basicNew&amp;lt;/code&amp;gt;, let&amp;#039;s see it&lt;br /&gt;
&lt;br /&gt;
 Behavior &amp;gt;&amp;gt; new&lt;br /&gt;
 	&amp;quot;Answer a new initialized instance of the receiver (which is a class) with no indexable variables. Fail if the class is indexable.&amp;quot;&lt;br /&gt;
 	^ self basicNew initialize&lt;br /&gt;
&lt;br /&gt;
* So, ignoring indexable variables (vectors and the likes) &amp;lt;code&amp;gt;new&amp;lt;/code&amp;gt; calls &amp;lt;code&amp;gt;basicNew&amp;lt;/code&amp;gt; and the calls &amp;lt;code&amp;gt;initialize&amp;lt;/code&amp;gt; &lt;br /&gt;
* &amp;lt;code&amp;gt;basicNew&amp;lt;/code&amp;gt; calls &amp;#039;&amp;#039;&amp;#039;primitive &amp;lt;70&amp;gt;&amp;#039;&amp;#039;&amp;#039;, so that is the end of the story, the ball now it to the VM.&lt;br /&gt;
* After that the balls passes to &amp;lt;code&amp;gt;initialize&amp;lt;/code&amp;gt;, here again, if you defined it yoursef ...&lt;/div&gt;</summary>
		<author><name>Nmingott</name></author>
	</entry>
</feed>