alexpeachey / end_state

A State Machine implementation
MIT License
9 stars 5 forks source link

Finalizers vs. ??? #9

Closed alexpeachey closed 10 years ago

alexpeachey commented 10 years ago

There is rumbling in the small end_state community that Finalizer isn't a good name.

What should they be called?

Best option (other than just leaving it as is) is Actualizer.

brianvh commented 10 years ago

What about calling them a Confirmer? Since their purpose is to confirm the transition that has passed all the guards...

daviscabral commented 10 years ago

:+1: on Confirmer

alexpeachey commented 10 years ago

Another: Committer

Jan-Hettich commented 10 years ago

Maybe completing action or completion? So each state change could have transition actions and completing actions, or if you prefer, transitions and completions. From the perspective of the new state, the "completing action" is an entry action; but from the perspective of the state change, it is a completion.

brianvh commented 10 years ago

The problem I have with Completion is the name hides the fact that failure might be a normal state of affairs. Completions don't sound like they're attempted, just done.

While I agree that Finalizer can be an overloaded term, the name at least implies that a Finalizer might not finish. Or, it does to me. That's also why I proposed Confirmer. It's also a name that seems to imply it might not always confirm the transition.