|
|
|
|
|
by pydry
1233 days ago
|
|
I thought this was a sarcastic description of an antipattern to start with. Whenever I see classes with verbs in their name I see it as a bad smell. In the ProcessPayment example he says the pattern is good because it lets you split the construction of the payment from its execution. Soooo why not have a Payment class with a process method? Am I missing something? |
|
It dawn on me that the latter is precisely what people at Java do, and I've reached the conclusion that this way of writing software is enforced by Java developers who realized they needed to learn Ruby because their job prospects are better, and are simply retrofitting what they used to do in a new programming language.