On 23 Apr, 2006, at 1:53 pm, Tim Lesher wrote:
> In any evernt, your "primer" is rather lopsided.

Exactly, however, it would have been equally lopsided if I'd written  
it. I'd certainly agree that generic functions make static analysis  
almost impossible for large or complex code. I actually gave up on  
trying to figure out how the expose decorator works. I can only  
imagine the reaction of someone who doesn't have a sound architecture  
background.

> 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.

My thoughts precisely. It's like templates in C++. They can be REALLY  
handy, but they can be quickly abused. I think there's evidence of  
generic function abuse in TG.

-- 
Jeff Watkins
http://newburyportion.com/

"Daddy, I want a purple iMac. And I want ice cream!"
-- Unidentified 7-year-old to his father.



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to