3 ms·
There's also the reason of not wanting to generate all the code every single time someone new retrieves the repo or needs to revert back to a previous commit.
by derangedHorse 8y ago
There's also the reason of not wanting to generate all the code every single time someone new retrieves the repo or needs to revert back to a previous commit.
- taeric 8y agoThis reason doesn't make sense. Again, do you checkin the bytecode of your java? I'd expect you, instead, to recompile the java every time you do a build. Now, I would expect you to have an artifact repository. To that end, you would be able to easily get the generated sources. But, they would decidedly not be in the source repository.
- jonathanlydall 8y agoI don't feel the bytecode comparison makes sense, because the generated code is human readable, bytecode is (to almost all intents and purposes) not. We feel that code generation is something one does explicitly while modelling, not something done every time you build.
- jonathanlydall 8y agoCompletely our thinking too. Code generation should not be a build or run time dependency. Our tool also allows developers to review proposed code changes before choosing to commit them to disk. Code generation is something you choose to do explicitly as you model.