Re:Swift Algorithms
by dmitriid on Thursday October 08, 2020 @02:04AM
(#24716336)
> 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.
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.