diff options
author | Richard Eng <horrido@users.noreply.github.com> | 2020-01-30 07:31:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 07:31:47 -0500 |
commit | 6e056f93dc12e6811f0f247877e1ba7bd6172803 (patch) | |
tree | 7e91925271edc83d1a775be78feb3533fabe4178 /smalltalk.html.markdown | |
parent | 89e1f40165efc9d0216810b062f52f66f329bf70 (diff) |
Update smalltalk.html.markdown
Diffstat (limited to 'smalltalk.html.markdown')
-rw-r--r-- | smalltalk.html.markdown | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/smalltalk.html.markdown b/smalltalk.html.markdown index faf826f3..d6d369cc 100644 --- a/smalltalk.html.markdown +++ b/smalltalk.html.markdown @@ -30,6 +30,7 @@ The most basic operation is to send a message to an object `anObject aMessage` There are three sorts of messages + - unary - a single symbol that may be several words conjoined in what we call camelcase form, with no arguments. For example 'size', 'reverseBytes', 'convertToLargerFormatPixels' - binary - a small set of symbols of the sort often used for arithmetic operations in most languages, requiring a single argument. For example '+', '//', '@'. We do not use traditional arithmetic precedence, something to keep an eye on. - keyword - the general form where multiple arguments can be passed. As with the unary form we use camelcase to join words together but arguments are inserted in the midst of the message with colons used to separate them lexically. For example 'setTemperature:', 'at:put:', 'drawFrom:to:lineWidth:fillColor:' |