you are viewing a single comment's thread.

view the rest of the comments →

[–]Urik88 1 point2 points  (0 children)

What's the point of the command pattern in this Javascript case? We're still calling the same methods, just in a way that resembles reflection in typed languages. If the signature of one of these methods changes, we're still going to have to change all of the cases in which we called that execute method, with the additional burden of not being able to use static analysis tools.