4 ms·
Maybe now we can add a way to get a random value from an array like array,sample in Ruby. Lots of work currently to do such a simple thing in Swift.
by piratebroadcast 11y ago
Maybe now we can add a way to get a random value from an array like array,sample in Ruby. Lots of work currently to do such a simple thing in Swift.
- DerekL 11y agoYou don't need to modify the compiler to do that. You could just write that in Swift.