delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/01/17/16:35:56

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=gmail.com; s=20120113;
h=date:from:to:subject:message-id:mime-version:content-type
:content-transfer-encoding;
bh=7Y7ykLY0w2G23FT+eTBnoaKSYIDU0zi0BVgWDo9orbU=;
b=p6cpp4Cfhr/NTiggRlXe+h2azFi0iJR7zI31aEZsTabgjmfrvGLFnSdmqfhf19WOo1
k6H/GpDAWjly9EeSV4Z+ZX6WEplpqc0Ow9le+2wVNHRNwxWdelbKGC8W6mjURhdkemBd
yLpQS2t+in6US+c60l8d3QIgFkYN6gNjdKRdLOqduH/TY4OiBgBiN3FsyMe90hWlJWkb
tJVhLgivoA32dqc9Akn9dYwwuYuAqBqWiXM6dgZJd0wGBFdQFztXAFN9XOn66f4tmt6l
/CaCDfVDwi6r9ZMOxyOThSXCdQeaNhFW4/CW5QNhTCsJIvunxMBhPr6LCGp9m/d1Sjzp
EdmQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:date:from:to:subject:message-id:mime-version
:content-type:content-transfer-encoding;
bh=7Y7ykLY0w2G23FT+eTBnoaKSYIDU0zi0BVgWDo9orbU=;
b=H247oyn4HJdoCOxxy+mNQZziBFAT5PRC9bZXD+zjWc2F7PUgUQe7wsPjuuzJv1nRa7
+c5cTSP4NWHUZhKpRTd4qOm7pBuJC0Plgly7o/yOXmj2MDpjqjp7s8wO8q4SJA1PTFER
aMXxiTp9EW6sG5H2jWSeUxyJi79LJJ1AoE3kqL+QNPvgkQh04zexzLuklOqCVnIrn220
ODpK2Q2SP+u0Wrue+Yx52jlwq9M5K13xEnYRMz431MVIRIbF4CaEli4eXWdK/uXIjeCZ
DEG5+b/0/x+Iobg9JV/sm3OgXcKm2mvUXb/4UIETS0lxKoztRbEixRC2knaXsF9ulTqF
+utQ==
X-Gm-Message-State: ALoCoQkTiLTNjWqOi+995Cb2Ay2HOwsnrsKJUYkbV9+hrQ1GKeEPK496vYK0ioVGryS7qmtIGIJugVJ5LFRJd+hqXioudDSNBw==
X-Received: by 10.194.121.167 with SMTP id ll7mr25081017wjb.113.1453066482732;
Sun, 17 Jan 2016 13:34:42 -0800 (PST)
Date: Sun, 17 Jan 2016 22:34:34 +0100
From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: [geda-user] PCB netlist storage ?
Message-Id: <20160117223434.3a82b1b69b8a9614cc490965@gmail.com>
X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Reply-To: geda-user AT delorie DOT com

Netnames are stored in PCB->NetlistLib.Menu[i].Name as text.
Refdes pin number is stored in PCB->NetlistLib.Menu[i].Entry[j].ListEntry as text.

Different programming styles, coding standards, position of braces, ... do not disturb me. Variable reuse and type reuse however I consider bad. I usually try to keep variables as local as possible and sometimes even add braces with an extra block just to get a local variable within this block.

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

Nicklas Karlsson

- Raw text -


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