summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMax Schumacher <maximilianbschumacher@gmail.com>2020-01-30 23:25:58 +0100
committerGitHub <noreply@github.com>2020-01-30 23:25:58 +0100
commit55f38d8fb8df1a559d49413140fdd9d79695e0fe (patch)
treebd4458e580d60dc18414ffa05fd2e381d746948c
parent5e23544d4fc283917063998f0272a33c6c0d364c (diff)
parent6e056f93dc12e6811f0f247877e1ba7bd6172803 (diff)
Merge pull request #3832 from horrido/patch-1
Update smalltalk.html.markdown
-rw-r--r--smalltalk.html.markdown1
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:'