25 lines
799 B
Plaintext
25 lines
799 B
Plaintext
From: morse at harborcom.net (Kevin Dahlhausen)
|
|
Date: Thu, 15 Apr 1999 14:12:33 GMT
|
|
Subject: Different methods with same name but different signature?
|
|
References: <3716909C.D8D1B372@fedex.com> <005201be8748$51e0bab0$f29b12c2@pythonware.com>
|
|
Message-ID: <3715f36d.74192342@news.oh.verio.com>
|
|
X-UID: 970
|
|
|
|
"Fredrik Lundh" <fredrik at pythonware.com> wrote:
|
|
|
|
|
|
>> - using different names for the methods,
|
|
>
|
|
>the second method is preferred -- it's faster, easier to
|
|
>understand, and less error-prone
|
|
>
|
|
>imho, it's also an improvement over the pure visitor pattern,
|
|
>since it allows you to generate "logical events" that doesn't
|
|
>correspond to "physical" data instances in your model.
|
|
|
|
I don't quite follow you. Can you explain this in a more detail?
|
|
|
|
|
|
|
|
|