Re:Is Go Duck-Typed?
by bjz_ on Wednesday March 04, 2020 @10:23PM
(#22490680)
Records of the same structure but different names are equivalent. In fact tuples are just sugar over records with numeric fields starting from 1. Note that this is not the same as in OCaml, afaik.
[ Parent
| on HN ]