Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #28461

Re: Recursive function to find a node in the DOM

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Recursive function to find a node in the DOM
Date Tue, 21 Jul 2015 16:05:31 +0200
Organization PointedEars Software (PES)
Lines 56
Message-ID <1516357.lIjpcpmlPf@PointedEars.de> (permalink)
References <mo53os$am9$1@dont-email.me> <4508534.oS5OQyzpKv@PointedEars.de> <4b1cb0ba-f0b0-4b25-a1aa-692c30e69833@googlegroups.com> <mol6so$48v$1@dont-email.me> <1625412.DiW0shChWm@PointedEars.de> <molf6c$2l1$1@dont-email.me>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace solani.org 1437487742 23575 eJwNxscBwDAIBLCVQjkw41DM/iM4egliZO1qMMVihb8kPv8uJHLuTFSNuxJXZCPGaLUNvqCTDyVUEWs= (21 Jul 2015 14:09:02 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Tue, 21 Jul 2015 14:09:02 +0000 (UTC)
User-Agent KNode/4.14.2
X-User-ID eJwFwQkBwDAIA0BLLYRA5fAM/xJ2Z8rLdtAIW9vILPpey4HUilM0nsZ0l4roC+f5pL4CmseVIB3DOUhM/krNFQM=
Cancel-Lock sha1:BmYpfVKyT4jjo0dJZzYygP3dxNk=
X-NNTP-Posting-Host eJwFwQkBwDAIA0BLo3xBTqHEv4TduYbEpIWHOZ1rnIcBqmcJDI8VxRT1ISekb+J17wm9wvMDNAERrQ==
Xref csiph.com comp.lang.javascript:28461

Show key headers only | View raw


danca (Daniele Campagna) wrote:

> Il 07/21/2015 01:53 PM, Thomas 'PointedEars' Lahn ha scritto:
>> danca (Daniele Campagna) wrote:
>>> Il 07/19/2015 12:59 AM, Scott Sauyet ha scritto:
>>>> Thomas 'PointedEars' Lahn wrote:
>>>>> There is no "javascript".  [ ... ]
>>>> Keep tilting at that windmill.  The rest of us know better.
>>> :-)
>> So *that* is what you *really* think.  Noted.
> 
> Mr. Lahn,

Contrary to real life, in Usenet it is “you can say you to me” *unless* 
offense has been given.

> please don't take early deductions. A smile is just a smile,
> referred to this old quarrel about "Javascript", and in no way
> irrespective of you or your recognized knowledge.

(You mean “disrespectful”, I presume.)  ACK.

> And it is referred to an old thread, too, in wich Scott was humorous about 
> that [not sure he remembers the thread and me anyway]. So I believe to $
> know he is usually quite benign and more on the side of humour than on the 
> one of sarcasm.

Not my experience and impression.  Historically, Scott has always supported 
the irresponsible approach of the blissfully ignorant of “show me where it 
breaks”, and resorted to personal attacks when the flaw in that thinking was 
made apparent.

> And so am I, then "absit injuria risis"!

That would probably be «rīsū» (ablative, for “concerning the smile”; 
cf. «verbum»).

>>> "logically correct" is a part of your answer i like very much, but "a
>>> recursive solution is clear and elegant" is what really made my day ;-)
>> You are easily amused.  This "logic" is flawed.
> 
> With due respect, a recursive algorythm hardly demonstrates flawed
> logic, I think [if it works].

The flawed "logic" is the one that is based on the claim that the recursive 
algorithm would be “logically correct” in this case.  That appears to me to 
be self-evident as the recursive algorithm can fail while the iterative one 
can *never* fail under the same circumstances.  And as for “clear and 
elegant”, beauty lies in the eye of the beholder; it has nothing to do with 
logic.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Recursive function to find a node in the DOM "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-15 09:59 +0200
  Re: Recursive function to find a node in the DOM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-15 11:59 +0200
    Re: Recursive function to find a node in the DOM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-15 12:03 +0200
    Re: Recursive function to find a node in the DOM "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-15 13:36 +0200
      Re: Recursive function to find a node in the DOM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-19 12:27 +0200
        Re: Recursive function to find a node in the DOM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-19 12:34 +0200
        Re: Recursive function to find a node in the DOM "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-21 12:08 +0200
          Re: Recursive function to find a node in the DOM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-25 14:11 +0200
            Re: Recursive function to find a node in the DOM "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-25 21:22 +0200
              Re: Recursive function to find a node in the DOM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-27 16:12 +0200
    Re: Recursive function to find a node in the DOM "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-08-08 04:50 +0200
      Re: Recursive function to find a node in the DOM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-08-08 09:33 +0200
        Re: Recursive function to find a node in the DOM "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-08-12 00:48 +0200
          Re: Recursive function to find a node in the DOM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-08-12 01:18 +0200
            Re: Recursive function to find a node in the DOM "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-08-13 23:26 +0200
              Re: Recursive function to find a node in the DOM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-08-16 08:48 +0200
                Re: Recursive function to find a node in the DOM "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-08-20 02:11 +0200
  Re: Recursive function to find a node in the DOM Scott Sauyet <scott.sauyet@gmail.com> - 2015-07-18 15:59 -0700
    Re: Recursive function to find a node in the DOM "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-21 12:30 +0200
      Re: Recursive function to find a node in the DOM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-21 13:53 +0200
        Re: Recursive function to find a node in the DOM "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-21 14:51 +0200
          Re: Recursive function to find a node in the DOM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-21 16:05 +0200
            Re: Recursive function to find a node in the DOM "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-07-21 20:35 +0200
            Re: Recursive function to find a node in the DOM Scott Sauyet <scott.sauyet@gmail.com> - 2015-07-30 22:10 -0700
              Re: Recursive function to find a node in the DOM "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-08-06 10:07 +0200
                Re: Recursive function to find a node in the DOM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-08-06 20:15 +0200
                Re: Recursive function to find a node in the DOM "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-08-08 01:21 +0200
        Re: Recursive function to find a node in the DOM Scott Sauyet <scott.sauyet@gmail.com> - 2015-07-30 22:09 -0700
  Re: Recursive function to find a node in the DOM Denis McMahon <denismfmcmahon@gmail.com> - 2015-07-29 03:04 +0000
    Re: Recursive function to find a node in the DOM "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-08-06 10:20 +0200

csiph-web