News for hackers. Stuff that matters.
Re:Do We Worship Complexity? by je42 on Tuesday October 16, 2018 @10:39PM (#18235684)
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.
Re:Do We Worship Complexity? by TeMPOraL on Wednesday October 17, 2018 @06:58AM (#18237864)
It'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").