Re:Golang generics proposal has been accepted
by sdfsfsf3kjdf on Wednesday February 10, 2021 @04:18PM
(#26094949)
In Rust you can solve this via derive or a macro. Typescript's conditional types and the associated utility types are a nice solution to this problem as well. You can do a ton with Partial, Required, Pick, Omit, Exclude etc.
[ Parent
| on HN ]