[Cuis-dev] >> notation
Hernán Wilkinson
hernan.wilkinson at 10pines.com
Thu Aug 1 08:07:44 PDT 2024
Foo>>#bar is a collaboration.
Foo receives de message >> with the parameter #bar
If you look at the implementation of #>> in Behavior you will see that it
does ^self compiledMethodAt: ...
Using Foo>>#bar as documentation as if it was a "notation" is one of the
beautys of Smalltalk, it shows who simple and consistent is and its
"meta-circularity" we could say...
On Thu, Aug 1, 2024 at 11:54 AM Mark Volkmann via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:
> I understand that
>
> Foo>>bar
>
> is not valid Smalltalk syntax and is just notation seen in documentation
> that means bar is a method in the class Foo.
> Can I assume that bar is an instance method and not a class method?
> Is there a different notation for class methods?
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
--
*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240801/778b0826/attachment-0001.htm>
More information about the Cuis-dev
mailing list