Go Programming talk [OT]

Adam Ruppe destructionator at gmail.com
Sun Jun 6 16:06:07 PDT 2010


On 6/6/10, bearophile <bearophileHUGS at lycos.com> wrote:
> At 9.30 you can see the switch used on a type type :-)
> You can see a similar example here:
> http://golang.org/src/pkg/exp/datafmt/datafmt.go

That example looks really similar to the D1 "D-style Variadic
Functions" example here: http://digitalmars.com/d/1.0/function.html

Of course, the D1 thing there is an if/else/if chain instead of a
switch, but they really look to operate basically the same.


More information about the Digitalmars-d mailing list