Skip to content

Instantly share code, notes, and snippets.

@nattybear
Last active January 17, 2021 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nattybear/1bcb33ec0c138fcee3df05c544050a33 to your computer and use it in GitHub Desktop.
Save nattybear/1bcb33ec0c138fcee3df05c544050a33 to your computer and use it in GitHub Desktop.

이 글은 Canol Gokel님이 만든 Computer Programming using GNU Smalltalk를 읽고 정리한 것이다.

Classes

클래스 class 는 우리가 만들고자 하는 객체의 템플릿 template 같은 것이다.

객체를 클래스의 인스턴스 instance 라고도 한다.

'Hello World!' 객체는 클래스 String의 객체이고 숫자 2, 3 같은 것들은 SmallInteger라는 클래스의 객체이다.

Computer Programming with GNU Smalltalk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment