이 글은 Canol Gokel님이 만든 Computer Programming using GNU Smalltalk를 읽고 정리한 것이다.
- 변수를 선언하지 않아도 사용할 수 있다.
- 소스 코드를 작성할 때는 한 행의 끝에 마침표
.
를 적어야 한다. 제일 마지막 줄은 그렇지 않다.
- Small Talk About Smalltalk
- General Logic Behind Smalltalk
- First Program
- Review Questions
- Objects and Messages
- Another Way to Display Output on Terminal
- Message Chaining
- Message Cascading
- Classes
- Common Classes and Their Usage: Part 1
- Variables
- Getting User Input
- Common Classes and Their Usage: Part 2
- Review Questions
- Blocks
- Selective Controlling
- Repetitive Controlling
- Review Questions
- Encapsulation
- Inheritance
- Polymorphism
- Creating Your Own Classes
- Creating Objects from Classes
- Example
- Extending and Modifying Classes
- self and super
- Review Questions