Getting rid of dynamic polymorphism and classes
Ziad Hatahet
hatahet at gmail.com
Fri Nov 9 13:05:38 PST 2012
On Thu, Nov 8, 2012 at 10:36 AM, F i L <witte2008 at gmail.com> wrote:
> That's essentially how Go is designed:
>
> type Shape interface {
> draw()
> }
...
Method dispatch is still done at runtime though.
--
Ziad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121109/942d5fd6/attachment.html>
More information about the Digitalmars-d
mailing list