Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Challenge: Simple algorithm for continuing series of integers

by dragonchild (Archbishop)
on Oct 20, 2008 at 17:21 UTC ( [id://718262]=note: print w/replies, xml ) Need Help??


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

The '*' idea is absolutely horrible. Nice in theory, but will suck in practice. If it's implemented, it should be in terms of well-specific sequences. No derivations possible. If the sequence isn't one of the 20-30 that are listed in the manual, then that should throw an error. My reasoning goes like this: How do you know what the next element of 1,1,2,3 is? What about 1,1,1,3? 1,2,4 also has dozens of options. There's just too many possibilities for mistakes.

Remember - predictability is good. Guessing is bad.


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re: 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://718262]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 14:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found