Re: ABS & recursion
Hi,
With Lewis' and David's latest propositions, this abs() debate is
taking quite a bizarre turn. I realize I may be flogging a dead
horse, but allow me one or two more comments.
Hawke, Ralf already pointed out why your fast 'solution' is of no use
to anyone, but otherwise I really envy you your uncomplicated world,
populated solely by whole numbers and noodles, sorry, I mean
one-dimensional strings. I am also glad you like Carl's function,
because I like it too. It works and it is fast, short and elegant. But
I suspect its appeal is mainly based on the obvious but purely
*visual* symmetry.
Prof Wirth, the father of pascal, modula and oberon, once remarked, I
think it was in an interview some ten, fifteen years ago, that
recursion was a very powerful concept and he was working on a language
especially built for and around it. I never heard about the language
again, but the comments stuck in my mind. At the time I thought what a
weird and painful way to program, but as I grow older and slower,
sorry, I mean wiser, it's starting to make sense. I think we will see
more and more good recursive solutions in Euphoria, simply because of
the nature of the beast, with an infinitely nestable (?) sequence as
its main data type. Just idly musing... jiri
|
Not Categorized, Please Help
|
|