3 ms·
It's not just complexity, it's compilation time/effort. I personally see no problem with it and am also happy my build.rs script can automatically do logic like
by kodablah 8y ago
It's not just complexity, it's compilation time/effort. I personally see no problem with it and am also happy my build.rs script can automatically do logic like code generation at build time. However, I completely understand a Go approach that would never consider such an automatic "go generate".
- staticassertion 8y ago> However, I completely understand a Go approach that would never consider such an automatic "go generate". These end up existing anyways though. At least a few places are using Go with their own preprocessor - isn't Kubernetes doing this?
- yen223 8y agoMy point is exactly that you can opt out of using macros if you so wish, if compilation time were an issue.
- kodablah 8y agoYou have less choice as your transitive dependency tree becomes larger while leveraging the popular libraries in the ecosystem.