3 ms·
Oh no. Believe me reading code full of templates is not a pleasure. There is a reason Go is so pleasant to read.
by the_clarence 8y ago
Oh no. Believe me reading code full of templates is not a pleasure. There is a reason Go is so pleasant to read.
- int_19h 8y agoC++ templates are hardly the best example of generics out there, and certainly not what you should be looking at from a Go perspective, seeing how Go is a higher-level language that doesn't concern itself with zero-cost abstractions anywhere near as much as C++ does. Look at C# or D generics instead.