[Tutor] Tips

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Jun 18 09:59:31 CEST 2014


On 18/06/2014 01:02, Alex Kleider wrote:
> On 2014-06-17 13:35, Alan Gauld wrote:
>
>> Don't test types, use the interface
>
> Can you please explain what you mean by this?
> alex
>

Further to Danny Yoo's response have a read of this 
http://en.wikipedia.org/wiki/Duck_typing

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com




More information about the Tutor mailing list