From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.103.68 with SMTP id j4mr1344168qao.8.1375192015583; Tue, 30 Jul 2013 06:46:55 -0700 (PDT) X-Received: by 10.182.121.165 with SMTP id ll5mr363081obb.0.1375192015555; Tue, 30 Jul 2013 06:46:55 -0700 (PDT) Path: border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!proxad.net!feeder2-2.proxad.net!nx02.iad01.newshosting.com!newshosting.com!216.196.98.146.MISMATCH!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!fx3no160924qab.0!news-out.google.com!ce7ni126qab.0!nntp.google.com!fx3no160913qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 30 Jul 2013 06:46:55 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=129.59.203.107; posting-account=7Oy7OQoAAABhVYFOo553Cn1-AaU-bSfl NNTP-Posting-Host: 129.59.203.107 References: <4e50e46b-d133-4513-bb78-7331807224c2@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <000e00a7-fc97-45f3-b567-ca7edd5cf242@googlegroups.com> Subject: Re: Vocabulary matter: Component vs Element vs Item From: Eryndlia Mavourneen Injection-Date: Tue, 30 Jul 2013 13:46:55 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Original-Bytes: 3604 Xref: number.nntp.dca.giganews.com comp.lang.ada:182768 Date: 2013-07-30T06:46:55-07:00 List-Id: On Monday, July 29, 2013 5:30:46 PM UTC-5, Hibou57 (Yannick Duch=EAne) wrot= e> Le Mon, 29 Jul 2013 22:25:19 +0200, Eryndlia Mavourneen =20 > a =E9crit: >=20 > > In my own experience: > > > > 1) "Element" is one of a collection of the same or similar type of =20 > > thing, as in an array. We have the chemical elements, too, which are = =20 > > all chemically irreducible pieces of matter. > > > > 2) "Component" is a member of a construct of (possibly) differing types= =20 > > of things. I can have a component of a TV set, The Booch Components, o= r =20 > > a record. > > > > 3) "Item" is a selection -- could be from a menu or not. In a loop, th= e =20 > > current constant is an item, regardless of whether it is an element, a = =20 > > selection from a container, or eggs and bacon. > > > > -- Eryndlia (KK1T) >=20 > Your comment on Item related to loop, is clever and interesting. >=20 > About point #1, how do you relate it to #3? Do you feel as I do it's a = =20 > matter of point of view? An item for the client adding something to a =20 > container, and is an element for the container, thus the Element_Type =20 > instead of Item_Type? I was interested in the question in a more general = =20 > way than containers (the same question rise in other patterns too), this = =20 > is just that the case of containers speaks easily and the Ada standard = =20 > containers use this naming convention. Much of meaning (semantics) is point-of-view. If you harm me, then it effe= cts me in ways you likely never considered. You may not know of my child, = my varied business interests, acquaintances, etc. I do not know the ration= ale for using the word "element" to describe a construct within the contain= er, except that, from the point-of-view of the container, an element is irr= educible and is one of many structurally similar entities within that conta= iner. Also, don't forget that I was using "item" to mean a selection of some kind= . From the loop's point-of-view, the element of the container being examin= ed *is* the item to be processed. -- Eryndlia (KK1T)