Y
Hacker News
new
|
ask
|
show
|
jobs
by
seivan
3770 days ago
NO! Don't use your collections indices as a key, that defeats the whole purpose. Your indices can change without content changing! You want to use item.id or something not as volatile as a collection index!