2 ms·
> Sounds to me like a job for a DSL that compiles down to Golang for the final output. So, you mean it's the job for generics. Which is a DSL for, well, generi
by dmitriid 6y ago
> Sounds to me like a job for a DSL that compiles down to Golang for the final output.
So, you mean it's the job for generics. Which is a DSL for, well, generic types that compiles to final output. That way, the repeated code doesn't even exist, especially not in the code that humans actually write.