delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/11/01/16:47:25

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h=
message-id:date:from:mime-version:to:subject:references
:in-reply-to:content-type:content-transfer-encoding; s=beta; bh=
jk/SacnBid4NcbkE49Tx+Vmx1VZMw+pDr0sGkmIf3HA=; b=Cz8Py50w9fcd5RZ6
CbKBSqB33Dj8qFCWW7dbLOJLsQFQav6kIo4QXJEzKevW9wrpLIgr51iskMe3w0a4
rkt3Zc6wQqArNab7mD/ld4hy9sa6UKHB7qFP9z7AJWiEMBk1eKJwGMFErszUnJA2
WMBQhRzjotbra8Knyg30PpUp2fo=
Message-ID: <5092DFB5.9070907@jump-ing.de>
Date: Thu, 01 Nov 2012 21:46:45 +0100
From: Markus Hitter <mah AT jump-ing DOT de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1
MIME-Version: 1.0
To: geda-user AT delorie DOT com
Subject: Re: Objects of objects (was Re: [geda-user] The state of gEDA/gaf
(Was gEDA/PCBs diversity, Was: Pin hole size))
References: <CANqhZFxYH+Y5U1ai7ey-s+4nz6eYDM2vx3aMDb7WuigNXmi4AQ AT mail DOT gmail DOT com> <2CB304B5-9587-4734-84E4-49F464744D11 AT noqsi DOT com> <CANqhZFwPNG4R1dR2X0HB+tP1JzNXUAVg55gy54Lry5E49aAQ6Q AT mail DOT gmail DOT com> <E9D200C7-475C-4CC7-A592-5A6C14B3EA25 AT noqsi DOT com> <6BF2E986-51EB-41E9-A4AD-8071CD00B1A1 AT jump-ing DOT de> <834283D4-0891-486E-A981-2FF20B32C615 AT noqsi DOT com> <C3C35AF4-24D1-4977-9134-2C0B13473D01 AT jump-ing DOT de> <54CAA7EE-7638-4B89-8197-111D0493F859 AT noqsi DOT com> <D59D8F6D-0436-4A8D-AFC0-5124BD3031D6 AT jump-ing DOT de> <508CE947 DOT 4050408 AT xs4all DOT nl> <665E18E2-E9F9-40E4-9DE1-CC8FDBBDCB00 AT noqsi DOT com> <CAC4O8c8Q_MSCg6af5Ro13KefdTkMFeEWXyQLrMWZsTw+yJLA6g AT mail DOT gmail DOT com> <EF4E82A7-A7C2-4FD9-B7C4-0EF7AEC54DA9 AT noqsi DOT com> <508EE43F DOT 5050505 AT neurotica DOT com> <9B14233C-F3A7-489C-BDC7-F6EAAAFCAB51 AT noqsi DOT com> <8835FFD4-C2F8-4EBF-BA06-2EFD38B47865 AT noqsi DOT com> <k6sebj$7q7$1 AT ger DOT gmane DOT org> <20121101124136 DOT 247F28117B6F AT turkos DOT aspodata DOT se> <k6tvl2$ra5$1 AT ger DOT gmane DOT org> <20121101143159 DOT 3AF688130EC0 AT turkos DOT aspodata DOT se>
In-Reply-To: <20121101143159.3AF688130EC0@turkos.aspodata.se>
Reply-To: geda-user AT delorie DOT com

Am 01.11.2012 15:31, schrieb Karl Hammar:
> Kai-Martin Knaak:

>> The break condition would need to be implemented. Until it is, you'd be
>> stuck in an endless loop.
>
> There is always the hw limit. If people wants endless loops let them
> have it. You cannot outlaw stupidity, but forbiddning useful things
> because of stupidity is not nice to the nice guys.

Please don't forget those being reasonably intelligent, still building a 
recursion accidentally. Grinding the user's whole system to a halt with 
exhaused memory due to a typo won't make you and gEDA friends.

IMHO, there should be at least an recursion counter, like max. 100 
recursions.

Still I can't see how "real" recursions can work. Real recursions would 
require to change the recursed item somehow and testing this change to 
reach a limit. So, the recursion should break as soon as the same 
symbol/schematics is detected a second time in the recursion loop.


my $0.02
Markus

-- 
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. (FH) Markus Hitter
http://www.jump-ing.de/

- Raw text -


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