You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The _ActionType metaclass gives the convenient Action.parse method. However, by hanging this functionality on _ActionType and Action it smashes the action parsing unit together with the action execution unit together with all of the implementations of individual actions.
What is the intended and desirable interface between wiring and action parsing? What is the intended and desirable interface exposed for executing an action? These things are difficult to see when looking at the current implementation and they are not explicitly defined anywhere outside of the implementation.
The text was updated successfully, but these errors were encountered:
This has been on my mind for a couple days in a general way as I re-acquaint myself with the codebase. I've been thinking that the factoring of many of the units related to actions could be improved.
This came up today specifically because of #100 where I am trying to figure out where to put the code that deals with actorInterface being missing from the actor. It's hard to tell which parts of the current implementation should even know about actorInterface.
The
_ActionType
metaclass gives the convenientAction.parse
method. However, by hanging this functionality on_ActionType
andAction
it smashes the action parsing unit together with the action execution unit together with all of the implementations of individual actions.What is the intended and desirable interface between wiring and action parsing? What is the intended and desirable interface exposed for executing an action? These things are difficult to see when looking at the current implementation and they are not explicitly defined anywhere outside of the implementation.
The text was updated successfully, but these errors were encountered: