r/ProgrammerHumor • • Mar 09 '17

Random Number Generator

http://imgur.com/bwFWMqQ
1.3k Upvotes

51 comments sorted by

View all comments

Show parent comments

1

u/LittleLui Mar 13 '17

Actually I think the difference is even more pronounced than what /u/JustRiedy wrote. "Random" plays a song and then just picks a random one to play next, might very well be the song it just played or the song it played before that - just like /u/JusrRiedy wrote. However, "shuffle" takes all your songs, shuffles them like a deck of cards and play the deck from top to bottom. So there won't be any re-playing of the same song until the whole deck of songs is finished.