←back to thread

498 points azhenley | 1 comments | | HN request time: 0.399s | source
Show context
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 #
1. baruchel ◴[] No.45776727[source]
Which is why functional programmers believe in the separation of Church and state. https://wiki.c2.com/?SeparationOfChurchAndState