Y
Hacker News
new
|
ask
|
show
|
jobs
by
meggar
2724 days ago
The very first Swift question has a partially incorrect answer. It says that "var array2 = array1" creates a copy of array1. But it's incorrect because a copy isn't actually created until one of them is mutated.