Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Challenge: Simple algorithm for continuing series of integers

by Perlbotics (Archbishop)
on Oct 19, 2008 at 22:54 UTC ( [id://718103]=note: print w/replies, xml ) Need Help??


in reply to Re: Challenge: Simple algorithm for continuing series of integers
in thread Challenge: Simple algorithm for continuing series of integers

Well, I like the challenge as is, but I also think that the magical whatever * has not much practical use - or I cannot imagine one yet but for the simplest sequences.

Which means it would be far simpler and far better to avoid the "magical" and just...
Agreed, there would be too much room for ambiguity. Although TIMTOWTDI is part of the philosophy (* vs. {...}), I guess we will finally end with YABP (BP=best practice):

The Series Operator ...

  • Never use the magical whatever (*).
  • Define arithmetic and geometric series with an explicit closure.

But it is late and my visionary powers are dwindling ... ;-)

  • Comment on Re^2: Challenge: Simple algorithm for continuing series of integers

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://718103]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2024-04-23 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found