50 ms·
No one is asking for C/C++ style macros, or even C++ templates. Go generics would be closer to Java or C# generics, which increase code clarity, reduce boilerpl
by gopher_protocol 9y ago
No one is asking for C/C++ style macros, or even C++ templates. Go generics would be closer to Java or C# generics, which increase code clarity, reduce boilerplate and copy/paste code, and communicate intent.
- baby 9y agoI see. If it can be implemented as something that make code easier to read and not worse. Why not. But I’d need to see a clear example of that.