Re:Forgotten Language: Jorf could have been Python or Ruby (...
by kaonashi on Tuesday October 13, 2015 @12:13PM
(#10381415)
> The Dispatcher is usually a massive switch statement that takes a single argument, which will be a record field that corresponds with the event type.
Stores have the switch, and you're supposed to break those up along model lines. In most the apps I've written, they never get beyond 4 or 5 branches.
Stores have the switch, and you're supposed to break those up along model lines. In most the apps I've written, they never get beyond 4 or 5 branches.