Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah agreed. The edit was intended to concede that your statement about only being able to use strings was technically correct and mine about using objects was misguided :)

One good use case for objects as keys in hashes is functions. When you use a function as a key it is reliably converted to its definition, cross-browser. Doesn't make your point any less valid though.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: