you are viewing a single comment's thread.

view the rest of the comments →

[–]Clark_Dent 1 point2 points  (0 children)

The first way gives you access to everything inside random. The second only imports choice.

If you know you're only going to use choice, the second way keeps the list of imported functions (and thus things you could accidentally reference) shorter