Re:Rails – The Missing Parts
by hkarthik on Monday March 03, 2014 @05:59PM
(#7337178)
I feel like showing off some tests would help when the example is this complex. That would give a bit more context in terms of what you're trying to accomplish here.
[ Parent
| on HN ]
Re:Rails – The Missing Parts
by AndyDavis3416 on Monday March 03, 2014 @06:26PM
(#7337340)
True, the tests do demonstrate what can be accomplished, but that kind of gets back to my point: Any example complex enough to unambiguously warrant the use of a command pattern is going to involve non-trivial effort to learn the context. Asking that effort of someone reading a blog post is a bit much.
Unfortunately, it's easy to dismiss simple examples as not being worth the complexity and demand real examples which can be dismissed because they cannot be easily understood.