www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/09/26/14:14:35

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-TCPREMOTEIP: 108.49.234.33
X-Authenticated-UID: jpd AT noqsi DOT com
From: John Doty <jpd AT noqsi DOT com>
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Subject: Re: [geda-user] empty attributes
Date: Sun, 26 Sep 2021 14:13:42 -0400
References: <20210925133011 DOT D0B918587B70 AT turkos DOT aspodata DOT se>
<alpine DOT DEB DOT 2 DOT 21 DOT 2109251919580 DOT 1189 AT nimbus>
<20210925194712 DOT 152EA8587FD0 AT turkos DOT aspodata DOT se>
<alpine DOT DEB DOT 2 DOT 21 DOT 2109261600060 DOT 1280 AT nimbus>
To: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
In-Reply-To: <alpine.DEB.2.21.2109261600060.1280@nimbus>
Message-Id: <DE995727-09B8-46C1-9E34-7621FB41BB6C@noqsi.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--Apple-Mail=_FD3CFF0E-BB3C-44D0-B56A-14A105A0C0AC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On Sep 26, 2021, at 10:12 AM, Roland Lutz <rlutz AT hedmen DOT org> wrote:
>=20
> Allowing component objects to have an empty refdes would be another, =
different change.  What would it mean for a component to have an empty =
refdes?  If the empty string was treated like any other value, all such =
components would be merged into one package.  Is this useful behavior?

It=E2=80=99s consistent behavior. An empty string is a perfectly good =
string. It is equal to any other empty string, not equal to other =
strings. There is no reason to have any special rule for attribute =
values that happen to be empty strings. Nor is there any reason to =
exclude them. It=E2=80=99s not a change that needs any change in the =
special treatment of refdes.

John Doty              Noqsi Aerospace, Ltd.
jpd AT noqsi DOT com




--Apple-Mail=_FD3CFF0E-BB3C-44D0-B56A-14A105A0C0AC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Sep 26, 2021, at 10:12 AM, Roland Lutz &lt;<a =
href=3D"mailto:rlutz AT hedmen DOT org" class=3D"">rlutz AT hedmen DOT org</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">Allowing component objects to =
have an empty refdes would be another, different change. &nbsp;What =
would it mean for a component to have an empty refdes? &nbsp;If the =
empty string was treated like any other value, all such components would =
be merged into one package. &nbsp;Is this useful behavior?</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" =
class=3D""></div></blockquote><br class=3D""></div><div>It=E2=80=99s =
consistent behavior. An empty string is a perfectly good string. It is =
equal to any other empty string, not equal to other strings. There is no =
reason to have any special rule for attribute values that happen to be =
empty strings. Nor is there any reason to exclude them. It=E2=80=99s not =
a change that needs any change in the special treatment of =
refdes.</div><br class=3D""><div class=3D"">
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-ligatures: normal; =
font-variant-caps: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-indent: 0px; text-transform: none; =
orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><div =
style=3D"word-wrap: break-word;" class=3D""><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-ligatures: normal; =
font-variant-caps: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-indent: 0px; text-transform: none; =
orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><p =
style=3D"margin: 0px;" class=3D""><font face=3D"Helvetica" size=3D"3" =
style=3D"font-style: normal; font-variant-caps: normal; font-weight: =
normal; font-size: 12px; line-height: normal; font-family: Helvetica;" =
class=3D"">John Doty<span class=3D"Apple-converted-space">&nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><span =
class=3D"Apple-converted-tab">&nbsp; &nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span>Noqsi =
Aerospace, Ltd.</font></p><p style=3D"margin: 0px;" class=3D""><a =
href=3D"mailto:jpd AT noqsi DOT com" class=3D"">jpd AT noqsi DOT com</a></p><br =
class=3D"Apple-interchange-newline"></span></div></span><br =
class=3D"Apple-interchange-newline">
</div>
<br class=3D""></body></html>=

--Apple-Mail=_FD3CFF0E-BB3C-44D0-B56A-14A105A0C0AC--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019