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

"State is the enemy".

Every new state is an additional condition to check. A mutated variable implies an additional state to test.

One boolean means two states to test. Four booleans that interact is 2^4 (16) states to test.



Which is why functional programmers believe in the separation of Church and state. https://wiki.c2.com/?SeparationOfChurchAndState




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

Search: