←back to thread

498 points azhenley | 2 comments | | HN request time: 0.436s | source
1. markstos ◴[] No.45776373[source]
"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.

replies(1): >>45776727 #
2. baruchel ◴[] No.45776727[source]
Which is why functional programmers believe in the separation of Church and state. https://wiki.c2.com/?SeparationOfChurchAndState