Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
piratebroadcast
on Dec 3, 2015
|
parent
|
context
|
favorite
| on:
Swift is Open Source
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
on Dec 3, 2015
[–]
You don't need to modify the compiler to do that. You could just write that in Swift.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: