I know:
C++, Java, and tons others:
object.method() , object.method(arg)
Objective-C:
[object method] , [object method:arg]
Smalltalk:
object method , object method: arg
PHP, Perl
object->method(), object->method(arg)
$object->method;
$object->method($arg1, $arg2, ...);
OCaml
object#method , object#method args
CLOS
(method object) , (method object arg)
And even, I have used:
method object
method(object)
Can you name other alternatives ways of sending a message to an object ( I think that would be the correct term ) in different programming languages?