<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://trans.onionmixer.net/wiki/index.php?action=history&amp;feed=atom&amp;title=SqueakByExample%3A2.4</id>
	<title>SqueakByExample:2.4 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://trans.onionmixer.net/wiki/index.php?action=history&amp;feed=atom&amp;title=SqueakByExample%3A2.4"/>
	<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;action=history"/>
	<updated>2026-04-21T17:31:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=5562&amp;oldid=prev</id>
		<title>Onionmixer: 검수 20180718</title>
		<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=5562&amp;oldid=prev"/>
		<updated>2018-07-18T13:28:37Z</updated>

		<summary type="html">&lt;p&gt;검수 20180718&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:28, 18 July 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 코드가 하는 역할이 무엇일까요? &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;여기서는 &lt;/del&gt;모든 자세한 내용을 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;다루지는 않겠지만&lt;/del&gt;(이 책의 나머지 부분에서 다룰 내용입니다!), 간단한 미리 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;보기가 있습니다&lt;/del&gt;. 하나하나 살펴보겠습니다.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 코드가 하는 역할이 무엇일까요? &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;여기서 &lt;/ins&gt;모든 자세한 내용을 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;다룰 수는 없기 때문에&lt;/ins&gt;(이 책의 나머지 부분에서 다룰 내용입니다!), 간단한 미리 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;보기를 보여드립니다&lt;/ins&gt;. 하나하나 살펴보겠습니다.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&quot;initialize&quot;라고 하는 메서드를 보겠습니다. 이름은 굉장히 중요합니다! 관례에 따라, 클래스에서 &quot;initialize&quot;라는 메서드를 정의하면, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;오브젝트를 만들고 나서 바로 &lt;/del&gt;호출됩니다. 따라서, &quot;SBECell new&quot;를 실행하면, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;“initialize”메시지를 &lt;/del&gt;새로 만든 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;오브젝트에 &lt;/del&gt;자동으로 보냅니다. initialize 메서드는 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;오브젝트의 &lt;/del&gt;상태를 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;설정하는데 사용하며&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;보통 &lt;/del&gt;인스턴스 변수를 설정합니다. 이것이 정확히 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;여기서 할 일입니다&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&quot;initialize&quot; 라고 하는 메서드를 보겠습니다. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드의 &lt;/ins&gt;이름은 굉장히 중요합니다! 관례에 따라, 클래스에서 &quot;initialize&quot; 라는 메서드를 정의하면, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;객체가 만들어지는 때에 &lt;/ins&gt;호출됩니다. 따라서, &quot;SBECell new&quot; 를 실행하면, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;“initialize” 메시지를 &lt;/ins&gt;새로 만든 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;객체에 &lt;/ins&gt;자동으로 보냅니다. initialize 메서드는 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;객체의 &lt;/ins&gt;상태를 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;지정하는데에 사용되며&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;일반적인 경우라면 initialize 메서드를 통해서 &lt;/ins&gt;인스턴스 변수를 설정합니다. 이것이 정확히 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;이 메서드에서 하는일 입니다&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 메서드가 수행하는 첫 번째 동작(두번째 줄)은 &quot;SimpleSwitchMorph&quot; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;super클래스의 &lt;/del&gt;initialize 메서드를 실행하는 것입니다. 이 개념은 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;어떤 상속받은 상태든지 상위 메서드의 initialize 메서드를 통해 올바르게 &lt;/del&gt;초기화 된다는 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;것입니다&lt;/del&gt;. 어떤 다른 동작을 수행하기 전에, super &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;initialize를 보내어 &lt;/del&gt;상속받은 상태를 초기화하는 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;것은 언제나 바람직한 생각입니다&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SimpleSwitchMorph의 &lt;/del&gt;initialize  메서드가 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;무얼 &lt;/del&gt;할지에 대해서는 정확히 모르며 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;상관하지도 않지만&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;타당한 &lt;/del&gt;기본 값을 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;유지하는 &lt;/del&gt;일부 인스턴스 변수를 설정하는데 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;있어서는 &lt;/del&gt;최선의 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;방법이므로&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;이를 &lt;/del&gt;호출하는 것이 더 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;나으며&lt;/del&gt;, 그렇지 않으면 깔끔하지 않은 상태로 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;시작할 위험에 빠져들게 됩니다&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 메서드가 수행하는 첫 번째 동작(두번째 줄)은 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;상위클래스인 &lt;/ins&gt;&quot;SimpleSwitchMorph&quot; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;의 &lt;/ins&gt;initialize 메서드를 실행하는 것입니다. 이 개념은 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;모든 상속된 상태(state)가 상위클래스의 초기화 메서드에 의해 적절히 &lt;/ins&gt;초기화 된다는 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;것을 의미합니다&lt;/ins&gt;. 어떤 다른 동작을 수행하기 전에, super &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;initialize 를 보내서 &lt;/ins&gt;상속받은 상태를 초기화하는 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;것이 좋습니다&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SimpleSwitchMorph 의 &lt;/ins&gt;initialize  메서드가 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;무엇을 &lt;/ins&gt;할지에 대해서는 정확히 모르며 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;상관할 필요도 없지만&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;적절한 &lt;/ins&gt;기본 값을 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;유지해야 하는 &lt;/ins&gt;일부 인스턴스 변수를 설정하는데 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;있어서 &lt;/ins&gt;최선의 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;방법기 때문에&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;이 메서드를 &lt;/ins&gt;호출하는 것이 더 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;좋으며&lt;/ins&gt;, 그렇지 않으면 깔끔하지 않은 상태로 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;클래스가 시작될 수도 있습니다&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 메서드의 나머지 부분에서는 이 객체의 상태를 설정합니다. &#039;&#039;self label:&#039; &#039; &#039;&#039; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;을 &lt;/del&gt;보내면, 이 객체의 레이블을 빈 문자열로 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;설정gkq니다&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 메서드의 나머지 부분에서는 이 객체의 상태를 설정합니다. &#039;&#039;self label:&#039; &#039; &#039;&#039; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메시지를 &lt;/ins&gt;보내면, 이 객체의 레이블을 빈 문자열로 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;설정합니다&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;표현식 0@0 corner:16@16 은 아마도, 약간의 설명이 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;필요할거같네요&lt;/del&gt;. 0@0 은 x와 y 좌표 각각을 0으로 설정하는 &#039;&#039;Point&#039;&#039; 객체입니다.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;표현식 0@0 corner:16@16 은 아마도, 약간의 설명이 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;필요할듯 합니다&lt;/ins&gt;. 0@0 은 x와 y 좌표 각각을 0으로 설정하는 &#039;&#039;Point&#039;&#039; 객체입니다. 0@0은 메시지 @를 인자 0과 함께 숫자 0으로 보냅니다. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메시지 전송에 &lt;/ins&gt;대한 결과로, 숫자 0이 Point 클래스에 좌표 (0,0)에 대한 새 인스턴스를 만들어 달라고 요청할 것입니다. 이제 모서리 0@&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0 과 &lt;/ins&gt;16@&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;16 으로 Rectangle 을 &lt;/ins&gt;만들도록 하는 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;새로 &lt;/ins&gt;만든 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;point &lt;/ins&gt;메시지 corner:16@&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;16 을 &lt;/ins&gt;보냅니다. 새롭게 만든 직사각형은 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;상위클래스에서 &lt;/ins&gt;상속된 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bounds 에게 &lt;/ins&gt;할당할 것입니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;0@0은 메시지 @를 인자 0과 함께 숫자 0으로 보냅니다. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;이에 &lt;/del&gt;대한 결과로, 숫자 0이 Point 클래스에 좌표 (0,0)에 대한 새 인스턴스를 만들어 달라고 요청할 것입니다. 이제 모서리 0@&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0과 &lt;/del&gt;16@&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;16으로 Rectangle을 &lt;/del&gt;만들도록 하는 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;새롭게 &lt;/del&gt;만든 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;점 &lt;/del&gt;메시지 corner:16@&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;16을 &lt;/del&gt;보냅니다. 새롭게 만든 직사각형은 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;super클래스에서 &lt;/del&gt;상속된 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bounds에게 &lt;/del&gt;할당할 것입니다.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;스퀵 화면의 기준점은 &#039;&#039;상단 왼쪽&#039;&#039;이며, y 좌표는 &#039;&#039;아래 방향&#039;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;으로 된다는것에 &lt;/del&gt;유의하십시오.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;스퀵 화면의 기준점은 &#039;&#039;상단 왼쪽&#039;&#039;이며, y 좌표는 &#039;&#039;아래 방향&#039;&#039; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;을 의미한다는 것에 &lt;/ins&gt;유의하십시오.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;메서드의 나머지 부분은 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;자체적으로 설명할 수 있어야 합니다&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;좋은 스몰토크 &lt;/del&gt;코드를 작성하는 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;예술적인 측면은 &lt;/del&gt;좋은 메서드 이름을 골라서 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;스몰토크 &lt;/del&gt;코드가 쉬운 영어(pidgin English)처럼 보일 수 있게 하는 것입니다. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;오브젝트가 &lt;/del&gt;자신과 대화하면서 &quot;Self use square corners!&quot;, &quot;Self turn off&quot;라고 말하는 것을 상상할 수 있어야 합니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;메서드의 나머지 부분은 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;명확합니다&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Smalltalk &lt;/ins&gt;코드를 작성하는 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;가장 아름다운 방법은 &lt;/ins&gt;좋은 메서드 이름을 골라서 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Smalltalk &lt;/ins&gt;코드가 쉬운 영어(pidgin English)처럼 보일 수 있게 하는 것입니다. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;객체가 &lt;/ins&gt;자신과 대화하면서 &quot;Self use square corners!&quot;, &quot;Self turn off&quot;라고 말하는 것을 상상할 수 있어야 합니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onionmixer</name></author>
	</entry>
	<entry>
		<id>https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=5561&amp;oldid=prev</id>
		<title>Onionmixer at 08:11, 18 July 2018</title>
		<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=5561&amp;oldid=prev"/>
		<updated>2018-07-18T08:11:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:11, 18 July 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;편집 창에서 메서드를 생성 템플릿을 보게 될 것입니다. 이를 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;선택하고 &lt;/del&gt;메서드 2.2의 내용으로 바꾸십시오.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;편집 창에서 메서드를 생성 템플릿을 보게 될 것입니다. 이를 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;선택해서 &lt;/ins&gt;메서드 2.2의 내용으로 바꾸십시오.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 코드가 하는 역할이 무엇일까요? 여기서는 모든 자세한 내용을 다루지는 않겠지만(이 책의 나머지 부분에서 다룰 내용입니다!), 간단한 미리 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;보기를 보여드리겠습니다&lt;/del&gt;. 하나하나 살펴보겠습니다.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 코드가 하는 역할이 무엇일까요? 여기서는 모든 자세한 내용을 다루지는 않겠지만(이 책의 나머지 부분에서 다룰 내용입니다!), 간단한 미리 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;보기가 있습니다&lt;/ins&gt;. 하나하나 살펴보겠습니다.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;quot;initialize&amp;quot;라고 하는 메서드를 보겠습니다. 이름은 굉장히 중요합니다! 관례에 따라, 클래스에서 &amp;quot;initialize&amp;quot;라는 메서드를 정의하면, 오브젝트를 만들고 나서 바로 호출됩니다. 따라서, &amp;quot;SBECell new&amp;quot;를 실행하면, “initialize”메시지를 새로 만든 오브젝트에 자동으로 보냅니다. initialize 메서드는 오브젝트의 상태를 설정하는데 사용하며, 보통 인스턴스 변수를 설정합니다. 이것이 정확히 여기서 할 일입니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;quot;initialize&amp;quot;라고 하는 메서드를 보겠습니다. 이름은 굉장히 중요합니다! 관례에 따라, 클래스에서 &amp;quot;initialize&amp;quot;라는 메서드를 정의하면, 오브젝트를 만들고 나서 바로 호출됩니다. 따라서, &amp;quot;SBECell new&amp;quot;를 실행하면, “initialize”메시지를 새로 만든 오브젝트에 자동으로 보냅니다. initialize 메서드는 오브젝트의 상태를 설정하는데 사용하며, 보통 인스턴스 변수를 설정합니다. 이것이 정확히 여기서 할 일입니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onionmixer</name></author>
	</entry>
	<entry>
		<id>https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1203&amp;oldid=prev</id>
		<title>Onionmixer: 번역수정 및 용어수정</title>
		<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1203&amp;oldid=prev"/>
		<updated>2013-09-17T01:52:56Z</updated>

		<summary type="html">&lt;p&gt;번역수정 및 용어수정&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:52, 17 September 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l37&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;quot;initialize&amp;quot;라고 하는 메서드를 보겠습니다. 이름은 굉장히 중요합니다! 관례에 따라, 클래스에서 &amp;quot;initialize&amp;quot;라는 메서드를 정의하면, 오브젝트를 만들고 나서 바로 호출됩니다. 따라서, &amp;quot;SBECell new&amp;quot;를 실행하면, “initialize”메시지를 새로 만든 오브젝트에 자동으로 보냅니다. initialize 메서드는 오브젝트의 상태를 설정하는데 사용하며, 보통 인스턴스 변수를 설정합니다. 이것이 정확히 여기서 할 일입니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;quot;initialize&amp;quot;라고 하는 메서드를 보겠습니다. 이름은 굉장히 중요합니다! 관례에 따라, 클래스에서 &amp;quot;initialize&amp;quot;라는 메서드를 정의하면, 오브젝트를 만들고 나서 바로 호출됩니다. 따라서, &amp;quot;SBECell new&amp;quot;를 실행하면, “initialize”메시지를 새로 만든 오브젝트에 자동으로 보냅니다. initialize 메서드는 오브젝트의 상태를 설정하는데 사용하며, 보통 인스턴스 변수를 설정합니다. 이것이 정확히 여기서 할 일입니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 메서드가 수행하는 첫 번째 동작(두번째 줄)은 &quot;SimpleSwitchMorph&quot; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;상위 클래스의 &lt;/del&gt;initialize 메서드를 실행하는 것입니다. 이 개념은 어떤 상속받은 상태든지 상위 메서드의 initialize 메서드를 통해 올바르게 초기화 된다는 것입니다. 어떤 다른 동작을 수행하기 전에, super initialize를 보내어 상속받은 상태를 초기화하는 것은 언제나 바람직한 생각입니다. SimpleSwitchMorph의 initialize  메서드가 무얼 할지에 대해서는 정확히 모르며 상관하지도 않지만, 타당한 기본 값을 유지하는 일부 인스턴스 변수를 설정하는데 있어서는 최선의 방법이므로, 이를 호출하는 것이 더 나으며, 그렇지 않으면 깔끔하지 않은 상태로 시작할 위험에 빠져들게 됩니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 메서드가 수행하는 첫 번째 동작(두번째 줄)은 &quot;SimpleSwitchMorph&quot; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;super클래스의 &lt;/ins&gt;initialize 메서드를 실행하는 것입니다. 이 개념은 어떤 상속받은 상태든지 상위 메서드의 initialize 메서드를 통해 올바르게 초기화 된다는 것입니다. 어떤 다른 동작을 수행하기 전에, super initialize를 보내어 상속받은 상태를 초기화하는 것은 언제나 바람직한 생각입니다. SimpleSwitchMorph의 initialize  메서드가 무얼 할지에 대해서는 정확히 모르며 상관하지도 않지만, 타당한 기본 값을 유지하는 일부 인스턴스 변수를 설정하는데 있어서는 최선의 방법이므로, 이를 호출하는 것이 더 나으며, 그렇지 않으면 깔끔하지 않은 상태로 시작할 위험에 빠져들게 됩니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 메서드의 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;나머지는 &lt;/del&gt;이 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;오브젝트의 &lt;/del&gt;상태를 설정합니다. &#039;&#039;self label:&#039; &#039; &#039;&#039; 을 보내면, 이 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;오브젝트의 &lt;/del&gt;레이블을 빈 문자열로 설정gkq니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 메서드의 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;나머지 부분에서는 &lt;/ins&gt;이 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;객체의 &lt;/ins&gt;상태를 설정합니다. &#039;&#039;self label:&#039; &#039; &#039;&#039; 을 보내면, 이 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;객체의 &lt;/ins&gt;레이블을 빈 문자열로 설정gkq니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;표현식 0@0 corner:16@&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;16은 &lt;/del&gt;아마도, 약간의 설명이 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;필요할지도 모릅니다&lt;/del&gt;. 0@&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0은 &lt;/del&gt;x와 y 좌표 각각을 0으로 설정하는 &#039;&#039;Point&#039;&#039; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;오브젝트입니다&lt;/del&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;표현식 0@0 corner:16@&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;16 은 &lt;/ins&gt;아마도, 약간의 설명이 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;필요할거같네요&lt;/ins&gt;. 0@&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0 은 &lt;/ins&gt;x와 y 좌표 각각을 0으로 설정하는 &#039;&#039;Point&#039;&#039; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;객체입니다&lt;/ins&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;0@0은 메시지 @를 인자 0과 함께 숫자 0으로 보냅니다. 이에 대한 결과로, 숫자 0이 Point 클래스에 좌표 (0,0)에 대한 새 인스턴스를 만들어 달라고 요청할 것입니다. 이제 모서리 0@0과 16@16으로 Rectangle을 만들도록 하는 새롭게 만든 점 메시지 corner:16@16을 보냅니다. 새롭게 만든 직사각형은 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;상위 클래스에서 &lt;/del&gt;상속된 bounds에게 할당할 것입니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;0@0은 메시지 @를 인자 0과 함께 숫자 0으로 보냅니다. 이에 대한 결과로, 숫자 0이 Point 클래스에 좌표 (0,0)에 대한 새 인스턴스를 만들어 달라고 요청할 것입니다. 이제 모서리 0@0과 16@16으로 Rectangle을 만들도록 하는 새롭게 만든 점 메시지 corner:16@16을 보냅니다. 새롭게 만든 직사각형은 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;super클래스에서 &lt;/ins&gt;상속된 bounds에게 할당할 것입니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;스퀵 화면의 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;원점은 &lt;/del&gt;&#039;&#039;상단 왼쪽&#039;&#039;이며, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;y좌표는 &lt;/del&gt;&#039;&#039;아래 방향&#039;&#039;으로 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;진행함에 &lt;/del&gt;유의하십시오.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;스퀵 화면의 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;기준점은 &lt;/ins&gt;&#039;&#039;상단 왼쪽&#039;&#039;이며, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;y 좌표는 &lt;/ins&gt;&#039;&#039;아래 방향&#039;&#039;으로 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;된다는것에 &lt;/ins&gt;유의하십시오.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;메서드의 나머지 부분은 자체적으로 설명할 수 있어야 합니다. 좋은 스몰토크 코드를 작성하는 예술적인 측면은 좋은 메서드 이름을 골라서 스몰토크 코드가 쉬운 영어(pidgin English)처럼 보일 수 있게 하는 것입니다. 오브젝트가 자신과 대화하면서 &amp;quot;Self use square corners!&amp;quot;, &amp;quot;Self turn off&amp;quot;라고 말하는 것을 상상할 수 있어야 합니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;메서드의 나머지 부분은 자체적으로 설명할 수 있어야 합니다. 좋은 스몰토크 코드를 작성하는 예술적인 측면은 좋은 메서드 이름을 골라서 스몰토크 코드가 쉬운 영어(pidgin English)처럼 보일 수 있게 하는 것입니다. 오브젝트가 자신과 대화하면서 &amp;quot;Self use square corners!&amp;quot;, &amp;quot;Self turn off&amp;quot;라고 말하는 것을 상상할 수 있어야 합니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Notes==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Notes==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onionmixer</name></author>
	</entry>
	<entry>
		<id>https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1202&amp;oldid=prev</id>
		<title>Onionmixer: 오타수정</title>
		<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1202&amp;oldid=prev"/>
		<updated>2013-02-19T17:24:15Z</updated>

		<summary type="html">&lt;p&gt;오타수정&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==클래스에 메서드 추가하기==&lt;br /&gt;
&lt;br /&gt;
이제 클래스에 몇 가지 메서드를 추가해보도록 하겠습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{CommentSqueak|프로토콜 패널에서  {{HighlightBold|--all--}}  프로토콜을 선택하십시오.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
편집 창에서 메서드를 생성 템플릿을 보게 될 것입니다. 이를 선택하고 메서드 2.2의 내용으로 바꾸십시오.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:SBECell.png|none|528px|thumb|그림 2.5: 새롭게 만든 클래스 SBECell]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
메서드 2.2: SBECell의 인스턴스를 초기화 하기&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;smalltalk&amp;quot;&amp;gt;&lt;br /&gt;
initialize                                                                                                  &lt;br /&gt;
 super initialize.&lt;br /&gt;
 self label: &amp;#039;&amp;#039;.                                                                                               &lt;br /&gt;
 self borderWidth: 2.                                                                                        &lt;br /&gt;
 bounds := 0@0 corner: 16@16.                                                                               &lt;br /&gt;
 offColor := Color paleYellow.                                                                               &lt;br /&gt;
 onColor := Color paleBlue darker.                                                                             &lt;br /&gt;
 self useSquareCorners.&lt;br /&gt;
 self turnOff                                                                                              &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
참고로 3번째 줄에 있는 &amp;#039; &amp;#039; 문자는 큰 따옴표가 아니라 사이에 아무것도 없는 두 개의 분리된 작은 따옴표입니다! ‘ ’ 는 빈 문자열을 나타냅니다. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{CommentSqueak|이 메서드 정의를 {{HighlightGray|Accept}} 하십시오.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
이 코드가 하는 역할이 무엇일까요? 여기서는 모든 자세한 내용을 다루지는 않겠지만(이 책의 나머지 부분에서 다룰 내용입니다!), 간단한 미리 보기를 보여드리겠습니다. 하나하나 살펴보겠습니다. &lt;br /&gt;
&lt;br /&gt;
&amp;quot;initialize&amp;quot;라고 하는 메서드를 보겠습니다. 이름은 굉장히 중요합니다! 관례에 따라, 클래스에서 &amp;quot;initialize&amp;quot;라는 메서드를 정의하면, 오브젝트를 만들고 나서 바로 호출됩니다. 따라서, &amp;quot;SBECell new&amp;quot;를 실행하면, “initialize”메시지를 새로 만든 오브젝트에 자동으로 보냅니다. initialize 메서드는 오브젝트의 상태를 설정하는데 사용하며, 보통 인스턴스 변수를 설정합니다. 이것이 정확히 여기서 할 일입니다.&lt;br /&gt;
&lt;br /&gt;
이 메서드가 수행하는 첫 번째 동작(두번째 줄)은 &amp;quot;SimpleSwitchMorph&amp;quot; 상위 클래스의 initialize 메서드를 실행하는 것입니다. 이 개념은 어떤 상속받은 상태든지 상위 메서드의 initialize 메서드를 통해 올바르게 초기화 된다는 것입니다. 어떤 다른 동작을 수행하기 전에, super initialize를 보내어 상속받은 상태를 초기화하는 것은 언제나 바람직한 생각입니다. SimpleSwitchMorph의 initialize  메서드가 무얼 할지에 대해서는 정확히 모르며 상관하지도 않지만, 타당한 기본 값을 유지하는 일부 인스턴스 변수를 설정하는데 있어서는 최선의 방법이므로, 이를 호출하는 것이 더 나으며, 그렇지 않으면 깔끔하지 않은 상태로 시작할 위험에 빠져들게 됩니다.&lt;br /&gt;
&lt;br /&gt;
이 메서드의 나머지는 이 오브젝트의 상태를 설정합니다. &amp;#039;&amp;#039;self label:&amp;#039; &amp;#039; &amp;#039;&amp;#039; 을 보내면, 이 오브젝트의 레이블을 빈 문자열로 설정gkq니다.&lt;br /&gt;
&lt;br /&gt;
표현식 0@0 corner:16@16은 아마도, 약간의 설명이 필요할지도 모릅니다. 0@0은 x와 y 좌표 각각을 0으로 설정하는 &amp;#039;&amp;#039;Point&amp;#039;&amp;#039; 오브젝트입니다. &lt;br /&gt;
0@0은 메시지 @를 인자 0과 함께 숫자 0으로 보냅니다. 이에 대한 결과로, 숫자 0이 Point 클래스에 좌표 (0,0)에 대한 새 인스턴스를 만들어 달라고 요청할 것입니다. 이제 모서리 0@0과 16@16으로 Rectangle을 만들도록 하는 새롭게 만든 점 메시지 corner:16@16을 보냅니다. 새롭게 만든 직사각형은 상위 클래스에서 상속된 bounds에게 할당할 것입니다.&lt;br /&gt;
&lt;br /&gt;
스퀵 화면의 원점은 &amp;#039;&amp;#039;상단 왼쪽&amp;#039;&amp;#039;이며, y좌표는 &amp;#039;&amp;#039;아래 방향&amp;#039;&amp;#039;으로 진행함에 유의하십시오.&lt;br /&gt;
&lt;br /&gt;
메서드의 나머지 부분은 자체적으로 설명할 수 있어야 합니다. 좋은 스몰토크 코드를 작성하는 예술적인 측면은 좋은 메서드 이름을 골라서 스몰토크 코드가 쉬운 영어(pidgin English)처럼 보일 수 있게 하는 것입니다. 오브젝트가 자신과 대화하면서 &amp;quot;Self use square corners!&amp;quot;, &amp;quot;Self turn off&amp;quot;라고 말하는 것을 상상할 수 있어야 합니다.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SqueakByExample]]&lt;/div&gt;</summary>
		<author><name>Onionmixer</name></author>
	</entry>
	<entry>
		<id>https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1198&amp;oldid=prev</id>
		<title>Onionmixer at 04:33, 30 August 2012</title>
		<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1198&amp;oldid=prev"/>
		<updated>2012-08-30T04:33:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:33, 30 August 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==클래스에 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드를 &lt;/del&gt;추가하기==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==클래스에 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드를 &lt;/ins&gt;추가하기==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;자 이제, 우리의 클래스에 몇 가지 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드를 &lt;/del&gt;추가합니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;자 이제, 우리의 클래스에 몇 가지 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드를 &lt;/ins&gt;추가합니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;여러분은 편집 패널에서 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드를 &lt;/del&gt;만들기 위한 템플릿을 보게 될 것입니다. 그 탬플릿을 선택하고 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드 &lt;/del&gt;2.2의 텍스트로 교체합니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;여러분은 편집 패널에서 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드를 &lt;/ins&gt;만들기 위한 템플릿을 보게 될 것입니다. 그 탬플릿을 선택하고 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드 &lt;/ins&gt;2.2의 텍스트로 교체합니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드 &lt;/del&gt;2.2: SBECell의 인스턴스를 초기화 하기&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드 &lt;/ins&gt;2.2: SBECell의 인스턴스를 초기화 하기&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;smalltalk&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;smalltalk&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;initialize                                                                                                   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;initialize                                                                                                   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  super initialize &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                                                                                            &lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  super initialize.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  self label: &amp;#039;&amp;#039;.                                                                                                &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  self label: &amp;#039;&amp;#039;.                                                                                                &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  self borderWidth: 2.                                                                                         &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  self borderWidth: 2.                                                                                         &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  offColor := Color paleYellow.                                                                                &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  offColor := Color paleYellow.                                                                                &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  onColor := Color paleBlue darker.                                                                              &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  onColor := Color paleBlue darker.                                                                              &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  self useSquareCorners &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                                                                                     &lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  self useSquareCorners.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  self turnoff                                                                                               &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  self turnoff                                                                                               &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{CommentSqueak|이 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드 &lt;/del&gt;정의를 {{HighlightGray|Accept}} 합니다.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{CommentSqueak|이 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드 &lt;/ins&gt;정의를 {{HighlightGray|Accept}} 합니다.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;위의 코드가 하는 역할이 무엇일까요? 우리는 여기서 모든 세부내용을 다루지는 않을 것이지만, (이 책의 나머지 부분에서 다룰 내용입니다!)여러분에게 간략한 미리보기를 제공해 드리려 합니다. 하나하나 살펴보겠습니다.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;위의 코드가 하는 역할이 무엇일까요? 우리는 여기서 모든 세부내용을 다루지는 않을 것이지만, (이 책의 나머지 부분에서 다룰 내용입니다!)여러분에게 간략한 미리보기를 제공해 드리려 합니다. 하나하나 살펴보겠습니다.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드를 “initialize”&lt;/del&gt;(초기화)라 부르게 됨을 주목해 주십시오. 이 이름은 매우 중요합니다. 관례적으로, 만약 클래스가, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;“initialize”&lt;/del&gt;(초기화)로 이름을 정의하면, 오브젝트가 만들어진 직후 그 이름으로 불리게 됩니다. 그러므로, 우리가 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;“SBECell new”를 &lt;/del&gt;평가할 때, 메시지 “initialize”가 새롭게 만든 오브젝트에 자동으로 발송됩니다. 오브젝트의 상태를 설정하는 작업에 사용되는 초기화 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드&lt;/del&gt;(initialize method)는, 일반적으로 그 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드의 &lt;/del&gt;인스턴스 변수를 설정하기 위한 용도로 쓰입니다. 이 인스턴스 변수 설정작업은 정확히 여기서 우리가 하려는 작업입니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드를 &quot;initialize&quot;&lt;/ins&gt;(초기화)라 부르게 됨을 주목해 주십시오. 이 이름은 매우 중요합니다. 관례적으로, 만약 클래스가, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;initialize&quot;&lt;/ins&gt;(초기화)로 이름을 정의하면, 오브젝트가 만들어진 직후 그 이름으로 불리게 됩니다. 그러므로, 우리가 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;SBECell new&quot;를 &lt;/ins&gt;평가할 때, 메시지 “initialize”가 새롭게 만든 오브젝트에 자동으로 발송됩니다. 오브젝트의 상태를 설정하는 작업에 사용되는 초기화 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드&lt;/ins&gt;(initialize method)는, 일반적으로 그 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드의 &lt;/ins&gt;인스턴스 변수를 설정하기 위한 용도로 쓰입니다. 이 인스턴스 변수 설정작업은 정확히 여기서 우리가 하려는 작업입니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드가 &lt;/del&gt;수행하는 첫 번째 작업은 그 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드의 &lt;/del&gt;수퍼클래스(superclass)인 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;“SimpleSwitchMorph” &lt;/del&gt;초기화를 실행하는 것입니다. 그 초기화를 실행하는 이유는, 모든 상속된 상태는 아마도 수퍼클래스의 초기화 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드(initialize method)에 &lt;/del&gt;의해 적합하게 초기화 될 것이기 때문입니다.어떤 작업을 수행하기 전에, 수퍼 초기화(super initialize)를 보냄으로써 상속된 상태를 초기화하는 것은 항상 좋은 선택이며, 우리는 SimpleSwitchMorph의 초기화 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드가 &lt;/del&gt;수행할 작업을 정확히 모르고 상관하지도 않지만, 그 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드가 &lt;/del&gt;합당한 디폴트 값을 유지하는 몇 가지 인스턴스 변수를 설정할 것이라는 추측이 타당하므로, 우리는 상속된 상태를 초기화 작업을 수행하는 것이 낫고 그렇지 않으면 깨끗하지 않은 상태에서 시작할 위험을 감수하는 선택을 해야 합니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드가 &lt;/ins&gt;수행하는 첫 번째 작업은 그 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드의 &lt;/ins&gt;수퍼클래스(superclass)인 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;SimpleSwitchMorph&quot; &lt;/ins&gt;초기화를 실행하는 것입니다. 그 초기화를 실행하는 이유는, 모든 상속된 상태는 아마도 수퍼클래스의 초기화 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드에 &lt;/ins&gt;의해 적합하게 초기화 될 것이기 때문입니다.어떤 작업을 수행하기 전에, 수퍼 초기화(super initialize)를 보냄으로써 상속된 상태를 초기화하는 것은 항상 좋은 선택이며, 우리는 SimpleSwitchMorph의 초기화 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드가 &lt;/ins&gt;수행할 작업을 정확히 모르고 상관하지도 않지만, 그 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드가 &lt;/ins&gt;합당한 디폴트 값을 유지하는 몇 가지 인스턴스 변수를 설정할 것이라는 추측이 타당하므로, 우리는 상속된 상태를 초기화 작업을 수행하는 것이 낫고 그렇지 않으면 깨끗하지 않은 상태에서 시작할 위험을 감수하는 선택을 해야 합니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드의 &lt;/del&gt;나머지는 이 오브젝트의 상태를 설정합니다. 자체 라벨(self label) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;‘’을 &lt;/del&gt;보내면, 이 오브젝트의 라벨은 빈 문자열로 설정됩니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드의 &lt;/ins&gt;나머지는 이 오브젝트의 상태를 설정합니다. 자체 라벨(self label) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;  &#039; 을 &lt;/ins&gt;보내면, 이 오브젝트의 라벨은 빈 문자열로 설정됩니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;표현식 0@0 coner:16@16은 아마도, 약간의 설명이 필요할 것 같습니다. 0@0은 x와 y 좌표를 가진 포인트 오브젝트(Point object)가 둘 모두 0으로 설정됨을 나타냅니다. 사실 0@0은 메시지 @를 인수 0과함께 숫자 0에 보냅니다. 그 효과는 숫자 0이 점 클래스(the point class)에게 좌표(0,0)을 가진 새로운 인스턴스를 만들 것을 요청하게 됩니다. 이제 우리는, 모서리 0@0과 16@16으로 직사각형을 만들도록 하는 새롭게 만든 점 메시지 coner:16@16을 보냅니다. 이 새롭게 만든 직사각형은 수퍼클래스에서 상속된 경계 변수(the bound variable)에게 할당될 것입니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;표현식 0@0 coner:16@16은 아마도, 약간의 설명이 필요할 것 같습니다. 0@0은 x와 y 좌표를 가진 포인트 오브젝트(Point object)가 둘 모두 0으로 설정됨을 나타냅니다. 사실 0@0은 메시지 @를 인수 0과함께 숫자 0에 보냅니다. 그 효과는 숫자 0이 점 클래스(the point class)에게 좌표(0,0)을 가진 새로운 인스턴스를 만들 것을 요청하게 됩니다. 이제 우리는, 모서리 0@0과 16@16으로 직사각형을 만들도록 하는 새롭게 만든 점 메시지 coner:16@16을 보냅니다. 이 새롭게 만든 직사각형은 수퍼클래스에서 상속된 경계 변수(the bound variable)에게 할당될 것입니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l45&quot;&gt;Line 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;스퀵 화면의 원점은 상단 왼쪽(the top left)이며, y좌표는 아래쪽(downward)으로 증가되는 것에 유의합니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;스퀵 화면의 원점은 상단 왼쪽(the top left)이며, y좌표는 아래쪽(downward)으로 증가되는 것에 유의합니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드의 &lt;/del&gt;나머지는 다른 반드시 부가설명이 필요 없어야 합니다.(self-explanatory) 좋은 스몰토크 코드를 작성기술의 일부는 좋은 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메소드 &lt;/del&gt;이름을 골라, 스몰토크 코드가 피진영어(영어를 잘못하는 사람이 말하거나 잘못하는 사람에게 말을 할 때 사용하는 단순화된 형태의 영어:역주)와 같이 읽힐 수 있어야 합니다. 여러분은 오브젝트가 그 자신에게 말하는 것 그리고 &quot;Self use square corners!&quot;, &quot;Self turn off&quot;라고 말하는 것을 상상할 수 있어야 합니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드의 &lt;/ins&gt;나머지는 다른 반드시 부가설명이 필요 없어야 합니다.(self-explanatory) 좋은 스몰토크 코드를 작성기술의 일부는 좋은 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;메서드 &lt;/ins&gt;이름을 골라, 스몰토크 코드가 피진영어(영어를 잘못하는 사람이 말하거나 잘못하는 사람에게 말을 할 때 사용하는 단순화된 형태의 영어:역주)와 같이 읽힐 수 있어야 합니다. 여러분은 오브젝트가 그 자신에게 말하는 것 그리고 &quot;Self use square corners!&quot;, &quot;Self turn off&quot;라고 말하는 것을 상상할 수 있어야 합니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onionmixer</name></author>
	</entry>
	<entry>
		<id>https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1197&amp;oldid=prev</id>
		<title>Onionmixer at 04:07, 30 August 2012</title>
		<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1197&amp;oldid=prev"/>
		<updated>2012-08-30T04:07:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:07, 30 August 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l41&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 메소드의 나머지는 이 오브젝트의 상태를 설정합니다. 자체 라벨(self label) ‘’을 보내면, 이 오브젝트의 라벨은 빈 문자열로 설정됩니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;이 메소드의 나머지는 이 오브젝트의 상태를 설정합니다. 자체 라벨(self label) ‘’을 보내면, 이 오브젝트의 라벨은 빈 문자열로 설정됩니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;표현식 0@0 coner:16@16은 아마도, 약간의 설명이 필요할 것 같습니다. 0@0은 x와 y 좌표를 가진 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;점 &lt;/del&gt;오브젝트(Point object)가 둘 모두 0으로 설정됨을 나타냅니다. 사실 0@0은 메시지 @를 인수 0과함께 숫자 0에 보냅니다. 그 효과는 숫자 0이 점 클래스(the point class)에게 좌표(0,0)을 가진 새로운 인스턴스를 만들 것을 요청하게 됩니다. 이제 우리는, 모서리 0@0과 16@16으로 직사각형을 만들도록 하는 새롭게 만든 점 메시지 coner:16@16을 보냅니다. 이 새롭게 만든 직사각형은 수퍼클래스에서 상속된 경계 변수(the bound variable)에게 할당될 것입니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;표현식 0@0 coner:16@16은 아마도, 약간의 설명이 필요할 것 같습니다. 0@0은 x와 y 좌표를 가진 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;포인트 &lt;/ins&gt;오브젝트(Point object)가 둘 모두 0으로 설정됨을 나타냅니다. 사실 0@0은 메시지 @를 인수 0과함께 숫자 0에 보냅니다. 그 효과는 숫자 0이 점 클래스(the point class)에게 좌표(0,0)을 가진 새로운 인스턴스를 만들 것을 요청하게 됩니다. 이제 우리는, 모서리 0@0과 16@16으로 직사각형을 만들도록 하는 새롭게 만든 점 메시지 coner:16@16을 보냅니다. 이 새롭게 만든 직사각형은 수퍼클래스에서 상속된 경계 변수(the bound variable)에게 할당될 것입니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;스퀵 화면의 원점은 상단 왼쪽(the top left)이며, y좌표는 아래쪽(downward)으로 증가되는 것에 유의합니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;스퀵 화면의 원점은 상단 왼쪽(the top left)이며, y좌표는 아래쪽(downward)으로 증가되는 것에 유의합니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onionmixer</name></author>
	</entry>
	<entry>
		<id>https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1196&amp;oldid=prev</id>
		<title>Onionmixer: 스타일 수정</title>
		<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1196&amp;oldid=prev"/>
		<updated>2012-08-20T03:26:07Z</updated>

		<summary type="html">&lt;p&gt;스타일 수정&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:26, 20 August 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==클래스에 메소드를 추가하기==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==클래스에 메소드를 추가하기==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;자 이제, 우리의 클래스에 몇 가지 메소드를 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;추가합시다&lt;/del&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;자 이제, 우리의 클래스에 몇 가지 메소드를 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;추가합니다&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{CommentSqueak|프로토콜 패널에서 프로토콜  --all-- 을 선택합니다.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{CommentSqueak|프로토콜 패널에서 프로토콜  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{HighlightBold|&lt;/ins&gt;--all--&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;을 선택합니다.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  self turnoff                                                                                               &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  self turnoff                                                                                               &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;3번째 라인에 있는 문자들은 그것들 사이에 아무것도 없는 두 개의 독립된 작은 따옴표 이며, 한 개의 큰 따옴표가 아닙니다! ‘’는 빈 문자열을 나타냅니다.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;3번째 라인에 있는 문자들은 그것들 사이에 아무것도 없는 두 개의 독립된 작은 따옴표 이며, 한 개의 큰 따옴표가 아닙니다! ‘’는 빈 문자열을 나타냅니다.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{CommentSqueak|이 메소드 정의를 Accept 합니다.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{CommentSqueak|이 메소드 정의를 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{HighlightGray|&lt;/ins&gt;Accept&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;합니다.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;스퀵 화면의 원점은 상단 왼쪽(the top left)이며, y좌표는 아래쪽(downward)으로 증가되는 것에 유의합니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;스퀵 화면의 원점은 상단 왼쪽(the top left)이며, y좌표는 아래쪽(downward)으로 증가되는 것에 유의합니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;메소드의 나머지는 다른 반드시 부가설명이 필요 없어야 합니다.(self-explanatory) 좋은 스몰토크 코드를 작성기술의 일부는 좋은 메소드 이름을 골라, 스몰토크 코드가 피진영어(영어를 잘못하는 사람이 말하거나 잘못하는 사람에게 말을 할 때 사용하는 단순화된 형태의 영어:역주)와 같이 읽힐 수 있어야 합니다. 여러분은 오브젝트가 그 자신에게 말하는 것 그리고 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;“Self &lt;/del&gt;use square corners!&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;”&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;“Self &lt;/del&gt;turn &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;off”라고 &lt;/del&gt;말하는 것을 상상할 수 있어야 합니다.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;메소드의 나머지는 다른 반드시 부가설명이 필요 없어야 합니다.(self-explanatory) 좋은 스몰토크 코드를 작성기술의 일부는 좋은 메소드 이름을 골라, 스몰토크 코드가 피진영어(영어를 잘못하는 사람이 말하거나 잘못하는 사람에게 말을 할 때 사용하는 단순화된 형태의 영어:역주)와 같이 읽힐 수 있어야 합니다. 여러분은 오브젝트가 그 자신에게 말하는 것 그리고 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;Self &lt;/ins&gt;use square corners!&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;Self &lt;/ins&gt;turn &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;off&quot;라고 &lt;/ins&gt;말하는 것을 상상할 수 있어야 합니다.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Notes==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Notes==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onionmixer</name></author>
	</entry>
	<entry>
		<id>https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1195&amp;oldid=prev</id>
		<title>Onionmixer: Onionmixer 사용자가 SqueakByExample:2.5 문서를 SqueakByExample:2.4로 옮겼습니다.: 페이지 이름 오류</title>
		<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1195&amp;oldid=prev"/>
		<updated>2012-08-13T03:36:52Z</updated>

		<summary type="html">&lt;p&gt;Onionmixer 사용자가 &lt;a href=&quot;/wiki/SqueakByExample:2.5&quot; title=&quot;SqueakByExample:2.5&quot;&gt;SqueakByExample:2.5&lt;/a&gt; 문서를 &lt;a href=&quot;/wiki/SqueakByExample:2.4&quot; title=&quot;SqueakByExample:2.4&quot;&gt;SqueakByExample:2.4&lt;/a&gt;로 옮겼습니다.: 페이지 이름 오류&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:36, 13 August 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Onionmixer</name></author>
	</entry>
	<entry>
		<id>https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1194&amp;oldid=prev</id>
		<title>Onionmixer: SBE 클래스에메소드를추가하기 페이지 추가</title>
		<link rel="alternate" type="text/html" href="https://trans.onionmixer.net/wiki/index.php?title=SqueakByExample:2.4&amp;diff=1194&amp;oldid=prev"/>
		<updated>2012-08-12T09:06:52Z</updated>

		<summary type="html">&lt;p&gt;SBE 클래스에메소드를추가하기 페이지 추가&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==클래스에 메소드를 추가하기==&lt;br /&gt;
&lt;br /&gt;
자 이제, 우리의 클래스에 몇 가지 메소드를 추가합시다. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{CommentSqueak|프로토콜 패널에서 프로토콜  --all-- 을 선택합니다.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
여러분은 편집 패널에서 메소드를 만들기 위한 템플릿을 보게 될 것입니다. 그 탬플릿을 선택하고 메소드 2.2의 텍스트로 교체합니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:SBECell.png|none|528px|thumb|그림 2.5: 새롭게 만든 클래스 SBECell]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
메소드 2.2: SBECell의 인스턴스를 초기화 하기&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;smalltalk&amp;quot;&amp;gt;&lt;br /&gt;
initialize                                                                                                  &lt;br /&gt;
 super initialize                                                                                             .&lt;br /&gt;
 self label: &amp;#039;&amp;#039;.                                                                                               &lt;br /&gt;
 self borderWidth: 2.                                                                                        &lt;br /&gt;
 bounds := 0@0 corner: 16@16.                                                                               &lt;br /&gt;
 offColor := Color paleYellow.                                                                               &lt;br /&gt;
 onColor := Color paleBlue darker.                                                                             &lt;br /&gt;
 self useSquareCorners                                                                                      .&lt;br /&gt;
 self turnoff                                                                                              &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
3번째 라인에 있는 문자들은 그것들 사이에 아무것도 없는 두 개의 독립된 작은 따옴표 이며, 한 개의 큰 따옴표가 아닙니다! ‘’는 빈 문자열을 나타냅니다. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{CommentSqueak|이 메소드 정의를 Accept 합니다.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
위의 코드가 하는 역할이 무엇일까요? 우리는 여기서 모든 세부내용을 다루지는 않을 것이지만, (이 책의 나머지 부분에서 다룰 내용입니다!)여러분에게 간략한 미리보기를 제공해 드리려 합니다. 하나하나 살펴보겠습니다. &lt;br /&gt;
&lt;br /&gt;
이 메소드를 “initialize”(초기화)라 부르게 됨을 주목해 주십시오. 이 이름은 매우 중요합니다. 관례적으로, 만약 클래스가, “initialize”(초기화)로 이름을 정의하면, 오브젝트가 만들어진 직후 그 이름으로 불리게 됩니다. 그러므로, 우리가 “SBECell new”를 평가할 때, 메시지 “initialize”가 새롭게 만든 오브젝트에 자동으로 발송됩니다. 오브젝트의 상태를 설정하는 작업에 사용되는 초기화 메소드(initialize method)는, 일반적으로 그 메소드의 인스턴스 변수를 설정하기 위한 용도로 쓰입니다. 이 인스턴스 변수 설정작업은 정확히 여기서 우리가 하려는 작업입니다.&lt;br /&gt;
&lt;br /&gt;
이 메소드가 수행하는 첫 번째 작업은 그 메소드의 수퍼클래스(superclass)인 “SimpleSwitchMorph” 초기화를 실행하는 것입니다. 그 초기화를 실행하는 이유는, 모든 상속된 상태는 아마도 수퍼클래스의 초기화 메소드(initialize method)에 의해 적합하게 초기화 될 것이기 때문입니다.어떤 작업을 수행하기 전에, 수퍼 초기화(super initialize)를 보냄으로써 상속된 상태를 초기화하는 것은 항상 좋은 선택이며, 우리는 SimpleSwitchMorph의 초기화 메소드가 수행할 작업을 정확히 모르고 상관하지도 않지만, 그 메소드가 합당한 디폴트 값을 유지하는 몇 가지 인스턴스 변수를 설정할 것이라는 추측이 타당하므로, 우리는 상속된 상태를 초기화 작업을 수행하는 것이 낫고 그렇지 않으면 깨끗하지 않은 상태에서 시작할 위험을 감수하는 선택을 해야 합니다.&lt;br /&gt;
&lt;br /&gt;
이 메소드의 나머지는 이 오브젝트의 상태를 설정합니다. 자체 라벨(self label) ‘’을 보내면, 이 오브젝트의 라벨은 빈 문자열로 설정됩니다.&lt;br /&gt;
&lt;br /&gt;
표현식 0@0 coner:16@16은 아마도, 약간의 설명이 필요할 것 같습니다. 0@0은 x와 y 좌표를 가진 점 오브젝트(Point object)가 둘 모두 0으로 설정됨을 나타냅니다. 사실 0@0은 메시지 @를 인수 0과함께 숫자 0에 보냅니다. 그 효과는 숫자 0이 점 클래스(the point class)에게 좌표(0,0)을 가진 새로운 인스턴스를 만들 것을 요청하게 됩니다. 이제 우리는, 모서리 0@0과 16@16으로 직사각형을 만들도록 하는 새롭게 만든 점 메시지 coner:16@16을 보냅니다. 이 새롭게 만든 직사각형은 수퍼클래스에서 상속된 경계 변수(the bound variable)에게 할당될 것입니다.&lt;br /&gt;
&lt;br /&gt;
스퀵 화면의 원점은 상단 왼쪽(the top left)이며, y좌표는 아래쪽(downward)으로 증가되는 것에 유의합니다.&lt;br /&gt;
&lt;br /&gt;
메소드의 나머지는 다른 반드시 부가설명이 필요 없어야 합니다.(self-explanatory) 좋은 스몰토크 코드를 작성기술의 일부는 좋은 메소드 이름을 골라, 스몰토크 코드가 피진영어(영어를 잘못하는 사람이 말하거나 잘못하는 사람에게 말을 할 때 사용하는 단순화된 형태의 영어:역주)와 같이 읽힐 수 있어야 합니다. 여러분은 오브젝트가 그 자신에게 말하는 것 그리고 “Self use square corners!”, “Self turn off”라고 말하는 것을 상상할 수 있어야 합니다.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SqueakByExample]]&lt;/div&gt;</summary>
		<author><name>Onionmixer</name></author>
	</entry>
</feed>