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 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: <2CB304B5-9587-4734-84E4-49F464744D11 AT noqsi DOT com> <6BF2E986-51EB-41E9-A4AD-8071CD00B1A1 AT jump-ing DOT de> <834283D4-0891-486E-A981-2FF20B32C615 AT noqsi DOT com> <54CAA7EE-7638-4B89-8197-111D0493F859 AT noqsi DOT com> <508CE947 DOT 4050408 AT xs4all DOT nl> <665E18E2-E9F9-40E4-9DE1-CC8FDBBDCB00 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> <20121101124136 DOT 247F28117B6F AT turkos DOT aspodata DOT se> <20121101143159 DOT 3AF688130EC0 AT turkos DOT aspodata DOT se> In-Reply-To: <20121101143159.3AF688130EC0@turkos.aspodata.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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/