today I found two presentations about programming patterns and how their implementation changes in context of dynamic languages. http://norvig.com/design-patterns/
They are both worth reading, lot’s of interesting information.
I have to “nitpick” on Neil Ford’s, of ThoughtWorks fame, sample code… Here are two “pearls” from his presentation:
So, Command class method names are doCommand and undoCommand? This typically comes from the playbook of procedural programming: stuff all your state and behaviour in a single class, but give them names in the form of verb-noun, to make it easier to understand… Here is one more sample: