On Apr 23, 2006, at 8:44 AM, Jeff Watkins wrote:
Most generic function instances use a type or identity check as the predicate. Even with just plain type checking in languages like C++ you can get lost with deep hierarchies where a function matches a class exactly but also one or more of its superclasses. There ARE use cases that are best solved by generic functions (or a poor re-implementation of them): "I've been looking for a flexible way to have a library that can be extended by users, preferably without using adaptation, yet another type registry, or monkey-patching." There are of course no self-contained use cases that are best done with generic functions, but TG needs to offer extensibility to its users without them having to maintain their own fork. -bob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~--- |
- [TurboGears] Re: Is Identity too much? I think so. Bob Ippolito
- [TurboGears] Re: Is Identity too much? I think so. Jorge Godoy
- [TurboGears] Re: Is Identity too much? I think so. Jorge Vargas
- [TurboGears] Re: Is Identity too much? I think ... Jorge Godoy
- [TurboGears] Re: Is Identity too much? I th... Jorge Vargas
- [TurboGears] Re: Is Identity too much? ... Jorge Godoy
- [TurboGears] Re: Is Identity too m... Tim Lesher
- [TurboGears] Re: Is Identity too m... Jorge Vargas
- [TurboGears] Re: Is Identity t... Jorge Godoy
- [TurboGears] Re: Is Identi... jvanasco
- [TurboGears] Re: Is Identi... [EMAIL PROTECTED]

