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

* is and, + is or. This agrees with Boolean algebra, so you can think in terms of a single bit. If you can also remember that functions A->B are exponentials B^A, then you can do a quick check that everything lines up: C^(A+B) = C^A*C^B. A function that handles A or B is the same as a function that handles A and a function that handles B.


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

Search: