-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Brian Tiger Chow
committed
Nov 4, 2014
1 parent
4ec0f40
commit 8eaa405
Showing
1 changed file
with
28 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@jbenet @mappum
I know this is a bit more verbose than the previous version, but for large commands, I think it would be wise for us to break apart the unmarshalling in the framework from the core operation.
In exchange for the extra keystrokes, the clear demarcation makes the code more readable and maintainable in the long run. Much easier to refactor the commands package without having to futz with the abstract logic of the operation.