3 ms·
They have macros. Sort of. Search "go generate".
by candiodari 8y ago
They have macros. Sort of. Search "go generate".
- andy_ppp 8y agoIt looks gross. Why not quote and unquote - it makes it so much easier to reason about...
- aikah 8y agoThis isn't a macro language. It relies on an external program that the developer needs to write himself at first place. "go generate" just facilitates the execution of a third party program. It does nothing more, and doesn't even do it automatically when compiling a program.