-
-
Notifications
You must be signed in to change notification settings - Fork 110
Description
This probably is more revealing about me, but I went through the tutorial in order, and came out not understanding that classes, and more importantly for my usages that this was a thing.
My specific context was a tag reference of the current actor that could be sent to another actor so that they could have some bi-directional communication.
This was discussed in Zulip with @SeanTAllen (my zulip client on linux won't let me copy the link, sorry look in #beginner-help > "Self" reference for actors).
I think the sugar of not needing to use this when setting actor and class fields, or calling their methods and behaviors led me to not even think of it.
:
There is one reference in "Expression > Methods"
Functions are always called on an object. Again just specify the object, followed by a dot, followed by the name of the function to call. If the object to call on is omitted then the current object is used (i.e.
this).