4 ms·
well I think Code generation can suck. But it does not need to suck. I like how grpc/protobuf work. And generating the code saving it in a repo and using it, i
by merb 9y ago
well I think Code generation can suck. But it does not need to suck.
I like how grpc/protobuf work. And generating the code saving it in a repo and using it, is fine. for RPC-like stuff.
However, generating code with a compiler can actually suck. Like having your database layer (jooq like) generated while compiling so the code does not get checked in anywhere.