Re: [BangPypers] duck typing -A random thought

2010-06-17 Thread Srinivas Reddy Thatiparthy
FYI, http://stackoverflow.com/questions/3062701/why-dont-we-require-interfaces-in-dynamic-languages A good discussion though, thanks for all who answered. Regards, Srini T. --The real failure is failing to try for success. ___ BangPypers mailing list

Re: [BangPypers] duck typing -A random thought

2010-06-17 Thread Srinivas Reddy Thatiparthy
>>Well, actually your interface does exist (if my object exposes the same set of methods as an instance of String, then it is a String), This is what i am referring ,duck typing. >>The concept of an interface exists in all OO languages I've used, even when there was no keyword 'interface'. In m

Re: [BangPypers] duck typing -A random thought

2010-06-17 Thread Dark Seid
Well, actually your interface does exist (if my object exposes the same set of methods as an instance of String, then it is a String), it's just not possible to explicitly call it out like you do in, say, Java. The concept of an interface exists in all OO languages I've used, even when there was n

[BangPypers] Indian Python Software Society

2010-06-17 Thread Kenneth Gonsalves
hi, as most of you may know, an all India society by the above name has been registered mainly for the purpose of conducting the annual pycon india conference and also to promote python in India. A separate mailing list has been created to discuss the affairs of the society. It is here: http://

Re: [BangPypers] duck typing -A random thought

2010-06-17 Thread Srinivas Reddy Thatiparthy
Dear Senthil, +sys.maxint for the sheer effort you took for me to write. :) Regards, Srini T. --The real failure is failing to try for success. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/

Re: [BangPypers] duck typing -A random thought

2010-06-17 Thread Senthil Kumaran
On Thu, Jun 17, 2010 at 01:52:58PM +0530, Srinivas Reddy Thatiparthy wrote: > is it just because of duck typing we don't require a concept of > interfaces(like in Java and C#) in python? i think so.what you say? Conceptually they are bit different. I am assuming you meant Dynamic typing (wherein

Re: [BangPypers] duck typing -A random thought

2010-06-17 Thread Srinivas Reddy Thatiparthy
I am really enjoying your book.Thanks a lot for writing it. :) Regards, Srini T. --The real failure is failing to try for success. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] duck typing -A random thought

2010-06-17 Thread Noufal Ibrahim
On Thu, Jun 17, 2010 at 1:52 PM, Srinivas Reddy Thatiparthy wrote: > is it just because of duck typing we don't require a concept of > interfaces(like in Java and C#) in python? i think so.what you say? It's not that you don't "require" it. As Baiju said, the Zope thing does it quite well. Howe

Re: [BangPypers] duck typing -A random thought

2010-06-17 Thread Baiju M
On Thu, Jun 17, 2010 at 1:52 PM, Srinivas Reddy Thatiparthy wrote: > is it just because of duck typing we don't require a concept of > interfaces(like in Java and C#) in python? i think so.what you say? If you want interfaces you may use this third party module: http://pypi.python.org/pypi/zope.

[BangPypers] duck typing -A random thought

2010-06-17 Thread Srinivas Reddy Thatiparthy
is it just because of duck typing we don't require a concept of interfaces(like in Java and C#) in python? i think so.what you say? Regards, Srini T. --The real failure is failing to try for success. ___ BangPypers mailing list BangPypers@python.or

[BangPypers] [OT] PyCon India 2010 meeting

2010-06-17 Thread Noufal Ibrahim
Hello everyone, I've had a few emails from folks on this list who wanted to help out with the PyCon we're working towards but I don't have all the emails. We're having a face to face meeting this weekend at the following venue Venue : Indian Coffee House, Church Street, Brigade Gardens Time