Stop being stupid already, man. You've already written this same pattern about 3 times. Abstract it away somewhere, perhaps as part of the state branch. You can either do this as triplets stored in a db or as some sort of callback module that enforces behavior in the calling module. Have a drink on it.
Stop being stupid already, man. You've already written this same pattern about 3 times. Abstract it away somewhere, perhaps as part of the
statebranch. You can either do this as triplets stored in a db or as some sort of callback module that enforces behavior in the calling module. Have a drink on it.