3 ms·
Code generation sucks...Especially when it breaks...the more you use it, the more you try to avoid it.
by thefounder 9y ago
Code generation sucks...Especially when it breaks...the more you use it, the more you try to avoid it.
- merb 9y agowell 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.