X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <569C0C4F.2030908@iee.org> Date: Sun, 17 Jan 2016 21:49:03 +0000 From: "M. J. Everitt (m DOT j DOT everitt AT iee DOT org) [via geda-user AT delorie DOT com]" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] PCB netlist storage ? References: <20160117223434 DOT 3a82b1b69b8a9614cc490965 AT gmail DOT com> In-Reply-To: <20160117223434.3a82b1b69b8a9614cc490965@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Iu1g9hArG7QV1BmxIxfS6sqRGlpHIVDNB9ehtxHKD0nlzgew2cO UaqFRFiBYOzqb8vvWiDtxzwXv7frwTvgdIMZ/2YF+wa/SQXKSLGTZVsZ7irp55efhNuL7OL 2brdS531+8B9o8Pu16uURGb/ZuWTbs/tqZCJNBzIM8aNxZAcHAxlcr6GlYvU6M05vgxZqC/ 4j3BzigqhuvRvAf1un4QA== X-UI-Out-Filterresults: notjunk:1;V01:K0:jZZlzUUP774=:TtmAIZea6q4ecpFGlF1+fS vNeBFfUvceaKKcIOixLogWsdLaD6SOVheXLtF/WgXaqzOXvAawE9/rmQSPIwJBowiPBYXKpdi 6JhQSULNiOXpKvxWL7GZ1OXkOZZacKSTsAy/1lhF7BvxAa916D8Ieh4ZuddJqSSxYpKAYrI2h ExOzzIE3ZQhck/u/kHeoTwb6oON9Rzv3O5FqDmdQ9qbX+FwsBf2aNuWTjBX+NiswN6+qQRpDR R0Zff9apUqP34vdFRZY1yqKKbYxxQN8YukVvaXjsRJ29Nj9yGZtN40o7CQBia8HKV76ZiWBnQ qUwQlXWv6HI61N5R0GMxsz2JHmg1pPNBEfadLDXKE5EZirWOPq/eDGnTemVnZJIWz1EYT+L2R 1gxFYIBzpY0FIniN6FuQkekHMmxSqFZi10hwahrH7E2hrLRRoGVHNJPiZOAfBQ90DGM1CPoUR hJWB9lRh1Ijrh3oVH3eDwXa6nWBswC2U2BfrR2xLcw78uWpzhubhwjJy4qVgpju5V4eIC0jOx DSV8/PXfSJ7t0j/p3AUxULmsLaLMBotiSHeKRrCnRlHW87y/c2LDVbptYBHDjPIG2LZ0T/4b2 pM74ifJNJydcpIiIGZyfsN74RBCFDlcngCgy7AyaomelMSeLb9X7mvwGwfiTXrgeJYYQus3jR OiSebiTbWj4UYDQx/kmhP8RemmUMwCCv5XKPzHI/dlTV0AskLkafV62VIV6l01jnGi7d0A4j4 diNQRp7bSniEQ9G+ Reply-To: geda-user AT delorie DOT com On 17/01/16 21:34, Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > 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 Idiot question here .. but what on earth is the significance of "Menu[i]" ?! Nicklas, possibly some better type-d structures, but not knowing the internal code .. couldn't say possibly how!!