Re:Building a High Performance Data Integration Framework in Go
by ilyt on Tuesday November 29, 2022 @10:38AM
(#33788842)
The article is about code generation that is more magic than macros.
Re:Building a High Performance Data Integration Framework in Go
by philosopher1234 on Tuesday November 29, 2022 @08:41PM
(#33795858)
but you can inspect the generated code, jump to def, search it...
how the actual generation works may be magic, but the code is reviewable, searchable, debuggable...
Its clearly better than macros for my use cases
Why is it a shame? Rely on macros and this is what you get:
1. Slow compile times
2. Unsearchable (grep, sourcegraph...) code
3. Magic codebases. Longer learning curve
To me, working in a large organization, those are big downsides.