Python Programming for the Privileged Class
1–10 of 18 posts
Re: Python Programming for the Privileged Class
#2Re: Python Programming for the Privileged Class
#3Re: Python Programming for the Privileged Class
#4Re: Python Programming for the Privileged Class
#5Re: Python Programming for the Privileged Class
#6Re: Python Programming for the Privileged Class
#7I love Python and I love interfaces, so this appeals to me.
Re: Python Programming for the Privileged Class
#8[1]: http://docs.zope.org/zope.interface/ [2]: http://twistedmatrix.com/documents/14.0.0/core/howto/compone...
Re: Python Programming for the Privileged Class
#9One of the best type features of Go is the lack of need to do something like this: "@implements(IEatable)". If a class implements all of the methods of the interface, then it automatically implements that interface. Yuppy seems like a step backwards in OO in this regard.
For example, the HtmlString interface could require only "toString" as a method, but not everything that has that method should be considered that type.
Re: Python Programming for the Privileged Class
#10One of the best type features of Go is the lack of need to do something like this: "@implements(IEatable)". If a class implements all of the methods of the interface, then it automatically implements that interface. Yuppy seems like a step backwards in OO in this regard.