Path: csiph.com!aioe.org!.POSTED.wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org!not-for-mail From: "R.Wieser" Newsgroups: comp.lang.javascript Subject: Re: Objects what are they. Date: Tue, 30 Apr 2019 22:25:47 +0200 Organization: Aioe.org NNTP Server Lines: 80 Message-ID: References: <962aa60c-b156-4784-9baf-3c62798d5e81@googlegroups.com> <1niece9ctbp6ab25ecea7ubcborr9i5tsf@4ax.com> NNTP-Posting-Host: wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org X-Complaints-To: abuse@aioe.org X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-Notice: Filtered by postfilter v. 0.9.2 X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-Priority: 3 X-MSMail-Priority: Normal X-RFC2646: Format=Flowed; Original Xref: csiph.com comp.lang.javascript:36510 John G, >>My apologies, but I read that as a "well, no". :-( > > You said > "unless you have a different explanation for me/us." > so I said > "Yes" (I have). To which I responded that that explanation of yours read like a "No, I have none". Putting (a lot of) words in a reply doesn't automatically mean you're explaining something. If it would you would see a /lot/ more "lorum ipsum" post here. > It's invisible to your program. True. But its there and is used /all the time/. Even if most users of the language are not aware of it. Trying to reason that they do not exist because you cannot readily see them is disingenious. With the same logic I could reason that viri and bacteria do not exist. :-) > Anything resembling a Reference that is created in that code > goes out of scope when the assignment action has finished. So, > References are not stored. Bullshit. It doesn't even make sense. You have an assignement action (of a string, array or object) to a variable and as soon as the asignment finishes you cannot use that string, array or object anymore because the reference, link or whatever you want to call it suddenly disappears ? >>The question is, are references/pointers used or not ? And if they >>are not produced by such a "newSynth()" whatamacallits, what /does/ >> it produce ? > > "newSynth()" produces a notional record containing an object in > its [[Value]] field. The Reference tells the low-level code where > to copy that value to. I'm sorry, but I didn't ask you to come up with a new set of bullshit-bingo words. I asked you what it returned. And again bullshit. There is /no way/ you can store a full object (or string or array) into that "[[Value]]" (four byte ?) field. So what /does/ get stored in that ? And an interesting notation, that "[[Value]]". In a few other languages I could imagine someone tried to signify a double indirection there. > I've been saying it for several years : The value of a variable > or property can be an object. And I'm saying it can't. See above for an explanation. > That permission for host objects was removed in the next edition. Missing: A definition of what a "host object" is. You sure as hell can "store objects" in there, as you have shown with your own code. But somehow you've dragged something totally different - though with the same name, just to keep it simple - into our conversation, muddying the whole thing. Why ? And why haven't you made a distinction between that "host object" and the other "object"s from the start ? I'm sure as hell ain't no mindreader you know. But I think I'm going to terminate our conversation here. You have too much fun throwing a bunch of big words around that have zero meaning to me, while evading answering straight-forward, simple questions. And I don't think that a further exchange of messages will change anything in that regard. Bummer. Regards, Rudy Wieser