[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Resistor values…



On Mon, Dec 27, 2010 at 3:56 AM, Vanessa Ezekowitz
<vanessaezekowitz@xxxxxxxxx> wrote:
> On Sun, 26 Dec 2010 23:55:04 -0500
> al davis <ad252@xxxxxxxxxxxxxxxx> wrote:
>
>> On Saturday 25 December 2010, Vanessa Ezekowitz wrote:
>> > * If the part in question can usually be described by a
>> > single value, for the purposes of the signal flow in the
>> > schematic that is, then give it a default of "value=0".
>>
>> No.  Zero is almost always wrong.
>
> Exactly my point - it is *supposed* to be wrong.
>
> I chose zero here because anyone who sees it in their schematic file should instantly think, "Oops, I forgot to set the value of that part".  From my own experience, it is easier to spot something that is visibly flat out wrong than to look for something that is just not there.
>
> Setting it to zero by default could even be used to signal Gschem to add an extra highlight to those symbols bearing it.  Perhaps the default, highlight-sensitive string should be exactly "0.0" or some variation of that, since no sane user would type anything but a single "0" when they mean "zero".
>

No valid number should be used for a "default" in such a generic
symbol.  I use 0 ohm resistors often, they are stuffing shorts.  a
default of ? is obvious, it clearly shows a value that has not been
assigned.


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user