in reply to Re: Array Shuffler
in thread Array Shuffler
The Fisher-Yates shuffle is usually written like this:No, the Fisher-Yates shuffle is only written that way by people who don't understand what they're doing.
See the discussion on page 122 of Perl Cookbook for why.
|
|---|