Re: Trivial (but not bikeshed please) question of style…
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Tue Oct 28 13:17:07 PDT 2014
On 10/28/14 3:28 PM, "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
<ola.fosheim.grostad+dlang at gmail.com>" wrote:
> On Tuesday, 28 October 2014 at 17:44:36 UTC, Steven Schveighoffer wrote:
>> But parent is not the actual object, it's a *mailbox* of that object,
>> or a reference. In essence, you are saying "use this recipient record
>> to send a message to it's target"
>
> I think in general you should strive to achieve this syntax:
>
> "subject.method(object);"
>
> Who are you asking to do the "send"? Not "parent", so parent is not
> subject for "send", it is subject for "receive":
>
> "Subject, do method using object!".
I look at it as:
"pipe which I have named 'parent' to help me remember who is at the
other end, please send this data to your other end"
In any case, I get your point, and I think we can probably move on from
this. Subjectivity is never resolvable :)
-Steve
More information about the Digitalmars-d
mailing list