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

But floating point addition is commutative!

Even if it wasn't, floating point numbers are very often regarded as approximations of real numbers, where addition is associative. String concatenation cannot be construed to have any resemblance of commutativity.



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

Search: