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

&& having higher precedence than || makes sense because && is boolean multiplication and || is boolean addition.


This makes so much sense but I never thought of it this way before so explicitly. Neat!


Has anyone ever found a link between boolean (F2) and "normal" base (F[n], or N) arithmetics ?




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

Search: