On 4/23/06, Simon Belak <[EMAIL PROTECTED]> wrote: > 1) type dispatch (also called multiple dispatch and overloading) > > A function is selected depending on types of arguments passed. > > Examples: C, Py3k?, PyProtocols.dispatch.on
I think you meant to say "C++", not "C". In any evernt, your "primer" is rather lopsided. If your goal is really education rather than advocacy, you'd note the drawbacks of using generics. There are more than one, and if you really understand generics, then you can probably enumerate them. To me, the biggest drawback is their resistance to static analysis (the human kind!). True, Python already has features that make static analysis difficult, but there's no reason to make the problem worse if you don't have to. Generics can be very useful, but so far in TG I haven't seen a case in which the cure is better than the disease. -- Tim Lesher <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---