Re:Go generics may use square brackets [] not parenthesis ()
by jfkebwjsbx on Wednesday July 15, 2020 @09:27AM
(#23844881)
There is nothing wrong with code generation, what do you mean by "or worse"?
[ Parent
| on HN ]
Re:Go generics may use square brackets [] not parenthesis ()
by centril on Friday July 17, 2020 @06:26PM
(#23876701)
Off the top of my head: Poor error messages, any type checking is run on the generated code so harder to enforce properties, and if code generation is not in-language, then the base logic can diverge for different types, which is bad when you find bugs.