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

I read the article and it's interesting! I learned something from it. From an end user POV it explains the mechanism behind how hash(-1)==hash(-2), which is neat. There's not really a why behind it, though. It wasn't really planned or designed for -1 to have an unexpected hash value. That's just the value the devs randomly picked as a flag. It could've been -837 just as easily.


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

Search: