I was reading a tutorial on emberigniter (which is an excellent site btw) which among other things shows how to pass an action-closure down into a component.
The first set of code shown is from the emberignither example. The second set of code is similar but passes down a delegate that contains the actions. My main question is there any reason I should avoid using the delegate pattern, particularly if it’s a complex component (or hierarchy) that has a lot of actions?

This works great for a simple component with one or two actions, but I was wondering if there is any reason to avoid passing down a delegate object, that would basically implement an interface that the component can call. I think this is similar to what is done in iOS and android. So something like this: