Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
AndyDavis3416
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
AndyDavis3416
13y ago
Although I would never call that a model, I think that we're doing similar things for similar reasons. Command, Virtual Model, Verb Model, Interaction. If I were working on your team I am sure we could agree that one of those would do
2.
▲
by
AndyDavis3416
13y ago
Honestly, I was disappointed in his response. With all his harrumphing about real examples, I would have expected him to make an effort to understand a real example. But, as I said elsewhere, the downside of real examples is that they requ
3.
▲
by
AndyDavis3416
13y ago
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.
4.
▲
by
AndyDavis3416
13y ago
Perhaps that's why the OP used a simple example. Complex examples are pretty hard to get your head around at first glance; even sane systems can be perceived as a 'hot mess' upon a quick read without any context. I disagree
5.
▲
by
AndyDavis3416
13y ago
I hope I am not sticking my head into the lion's mouth here, but here ( https://gist.github.com/BiggerNoise/9334673 ) is a link to a gist of some code in one of our apps. Cases have Tasks and Activities. Activities