delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/01/17/18:51:29

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlemail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=Q9yfsnfHpMF36NRL4BS7MpV5rucgtp+v4tMAXn6AL3I=;
b=EcRMzAHuirCpNYIYRU4GzWqYzPVVm0tVZj6evmtrjlnFap6B60dx0O/VkhCZZ0v3R4
KZe67lbMHt32CRvmvZqiPmdh6j+w2XsiB4bKfpxRqLHDGHQLvo2phZf9dLXmvM/r0f9A
b/4Op1EtEA+ubLelcWBxOVYPC66xrPSvHnUpSYi9o892JhZPTIwc0kA9arfgymXPBHTb
8PknUbqRneGjj8og8zJO1x/+RqWm644WFJurTCqf7+ooluS6CgGMmHoN9c8U+iD4qpF1
lQhbIRpis4Z1j/VNQ7tTyb3egl69q761y2uMWufAj1XtAiD4Z+0atgOLM5zvmeX38sUX
kYxA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type;
bh=Q9yfsnfHpMF36NRL4BS7MpV5rucgtp+v4tMAXn6AL3I=;
b=NeTCdN4PSnqgA3OQ6v/UklfyR1URUZqUaZVpGCz+bn5ens1p+ZIEhB9qRH6IoliBln
0ik9yZTzlldS9F8YYGuyTrLBnSq85fXAX5QX9NuDrB652Z5NgHolWIoZuQCKfiOidBbQ
qA2XLOWngt/EKClIWwXRhWGdmbQyfWSI4n3s2+JdZbu9bgWXttP/Mtw2jAUxgSf05lNi
5eHK9e3TcxgI898M+uMCj8wbCiYn3ox614dU1z8QuMJEHFGXnT92Vk5jCoL9Qe5DLQM4
FsuOXPGHXW+U5huzc0aqG1VQB17Xp92OAdG9OMuUbceI3IhbnVmqNWYiDrPiDaItjpco
60WQ==
X-Gm-Message-State: ALoCoQknm1zQm5N7vGtk6Fe3u0sxHrG+ecNxpcF/Jtm3AeDbq+nXytZpGJLzM86zHTwgNZ6ojglkDQc4HKHv5KZ2kUYhzG35vA==
MIME-Version: 1.0
X-Received: by 10.182.24.9 with SMTP id q9mr16999863obf.73.1453074606677; Sun,
17 Jan 2016 15:50:06 -0800 (PST)
In-Reply-To: <20160117223434.3a82b1b69b8a9614cc490965@gmail.com>
References: <20160117223434 DOT 3a82b1b69b8a9614cc490965 AT gmail DOT com>
Date: Sun, 17 Jan 2016 23:50:06 +0000
Message-ID: <CAJXU7q_9hUBVV-KD48krum-9MRpB_DzyBMnBUkT_dPW=CXxeZw@mail.gmail.com>
Subject: Re: [geda-user] PCB netlist storage ?
From: "Peter Clifton (petercjclifton AT googlemail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: gEDA User Mailing List <geda-user AT delorie DOT com>
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

--001a11c2c23cc367790529904ba2
Content-Type: text/plain; charset=UTF-8

On 17 Jan 2016 21:37, "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via
geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> wrote:

> Do anyone more than me think it would be a good idea to give netlists an
own type hierarchy?

Quite possibly :)

I had forgotten about that particular horror in the code!

One option might be to rename the types according to the kind of
data-structure they implement, especially if fixing the netlist case would
just mean unnecessary duplication.

Since we now use glib, there are probably a lot nicer structures we can use
without open-coding our own. This would be a better approach I suspect.

Feel free to work up an example / proposal / patch, and I'm sure we can get
this cleaned up somewhat.

Peter

--001a11c2c23cc367790529904ba2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On 17 Jan 2016 21:37, &quot;Nicklas Karlsson (<a href=3D"mailto:nicklas.kar=
lsson17 AT gmail DOT com">nicklas DOT karlsson17 AT gmail DOT com</a>) [via <a href=3D"mailto=
:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>]&quot; &lt;<a href=3D"mai=
lto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>&gt; wrote:</p>
<p dir=3D"ltr">&gt; Do anyone more than me think it would be a good idea to=
 give netlists an own type hierarchy?</p>
<p dir=3D"ltr">Quite possibly :)</p>
<p dir=3D"ltr">I had forgotten about that particular horror in the code!</p=
>
<p dir=3D"ltr">One option might be to rename the types according to the kin=
d of data-structure they implement, especially if fixing the netlist case w=
ould just mean unnecessary duplication.</p>
<p dir=3D"ltr">Since we now use glib, there are probably a lot nicer struct=
ures we can use without open-coding our own. This would be a better approac=
h I suspect.</p>
<p dir=3D"ltr">Feel free to work up an example / proposal / patch, and I&#3=
9;m sure we can get this cleaned up somewhat.<br></p>
<p dir=3D"ltr">Peter<br>
</p>

--001a11c2c23cc367790529904ba2--

- Raw text -


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