&gt; IME there are three random features you might want on a collection: pick a single element, pick n elements and shuffle the collection. While it can&#x27;t be #2 (as that requires an elements count) the random() method could be either #1 or #3 and the naming provides no indication of which.<p>I don&#x27;t see the confusion. #1 would be .random(), #2 would be .random(Int), and #3 would be .shuffle() with both mutating and non-mutating versions.<p>&gt; So the naming is unhelpful and the only operation implemented is the least useful random collection operation.<p>There could be all three of these methods, which you could use depending on your needs.<p>&gt; Finally you don&#x27;t need to pull a whole library for that, it&#x27;s a 3 lines extension.<p>The purpose of a standard library is to make common things easy. At least one of these three functions are found in nearly all other languages&#x27; standard libraries I&#x27;ve ever used.