Skip to content

Instantly share code, notes, and snippets.

@nattybear
Last active January 22, 2021 22:35
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/14fe5494fd50b69cd6d35fa87623e03a to your computer and use it in GitHub Desktop.
Save nattybear/14fe5494fd50b69cd6d35fa87623e03a to your computer and use it in GitHub Desktop.

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

Encapsulation

  • 스몰토크에서는 객체의 내부 상태를 직접 수정할 수 없다. 전부 private인가...
  • 메세지를 통해서만 상태를 수정할 수 있다.

Computer Programming with GNU Smalltalk

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