Opportunity
Peter Alexander
peter.alexander.au at gmail.com
Tue Apr 9 02:15:08 PDT 2013
On Tuesday, 9 April 2013 at 08:17:40 UTC, Russel Winder wrote:
> I have yet to find anyone who can tell me why Go must have
> generics with
> a cogent argument that makes sense to me. OK so C++ has
> generics;
> templates, how wonderful. Java has generics, and type erasure,
> great.
> Scala, Ceylon and Kotlin have huge infrastructure to reify
> generics on a
> platform with unreified generics. At least C# got that right.
> Why is the
> Go idea of total separation of state and behaviour not a good
> experiment, after all JavaScript, Python, etc. have shown this
> works
> even without static type checking.
+1!
Types are not the only way bind data and behaviour, nor is
binding necessary at all.
More information about the Digitalmars-d
mailing list