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
>>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
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
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://
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/
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
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
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
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.
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
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
11 matches
Mail list logo