in reply to Re: Re^2: Txet Maglning Glof, Ayobndy? (eagle)
in thread Txet Maglning Glof, Ayobndy?
Yes, your original spec (that my solution was written based on) had a requirement that "the rest of the letters must be out of order". I realized that this requirement was impossible so I chose to ignore it rather than implement an infinite loop (as you first did) or to ammend the rules in a different way (as you later did).
Personally, I much prefer having the order be random over some fixed reorordering that meets a "must be out of order" rule but doesn't meet the spirit of the original problem, IMHO. Both "must change if possible" and "random" would be best, but if I pick only one of those two, then "random" is the clear choice to me (though the other choice certainly makes for shorter code). :)
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Txet Maglning Glof, Ayobndy? (both!)
by tye (Sage) on Sep 16, 2003 at 17:30 UTC | |
by PhilHibbs (Hermit) on Sep 16, 2003 at 17:39 UTC | |
by tye (Sage) on Sep 16, 2003 at 17:49 UTC |