3 ms·
i think even if you use lambda's - i would still call it a command pattern - if you used lambdas to implement the command class.
by je42 8y ago
i think even if you use lambda's - i would still call it a command pattern - if you used lambdas to implement the command class.
- TeMPOraL 8y agoIt's an issue of perspective at this point. You can call it "The Command Pattern", as if it was something Important, while others will note that it's just passing a closure around (i.e. a trivial programming pattern at the level of "using if/else" or "throwing an exception").