From 6e056f93dc12e6811f0f247877e1ba7bd6172803 Mon Sep 17 00:00:00 2001 From: Richard Eng Date: Thu, 30 Jan 2020 07:31:47 -0500 Subject: Update smalltalk.html.markdown --- smalltalk.html.markdown | 1 + 1 file changed, 1 insertion(+) 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:' -- cgit v1.2.3