> Of cource i restrict them to particular types! In C# you cannot pass
> something bad
> this way because the compiler will just catch it!

And you cant pass something 'good' that immitates another object
interface (a file-like object for example)

> I see what you mean by "duck typing". So you suggest the "do nothing
> at all" direction,
> better document my code so other can see what is expected, right ?

I would add UnitTests to it.
-- 
EduardoOPadoan (eopadoan->altavix::com)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to