-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
From looking at the code, it looks like factors give input to states by setting fields in the state. This seems ugly and unnecessarily stateful, and the fact that the factors are nil-ed right in start after being checked suggests that they are not conceptually part of the state.
Why not pass factor parameters into the state as a parameter to start? It would remove the need for the factor = nil boilerplate and leave less room for error.
Metadata
Metadata
Assignees
Labels
No labels