Netflix / dgs-codegen

Apache License 2.0
177 stars 92 forks source link

Generated Java-classes naming convention #663

Closed OleksandrShkurat closed 3 months ago

OleksandrShkurat commented 3 months ago

Hello guys. I've just started using this library and the first question I have is about the generated Java-classes naming convention. I see the following non-habitant cases:

I tried to find some explanation why in this exact library those generated code members should be named exactly like this, but without any luck. Is it a kind of intentional separating the code style from the wide-spreading typical Java code naming convention to make the code visually different or just a naming habit given from another platform?

paulbakker commented 3 months ago

The reason for both is really just to make it read as nicely as possible, instead of strictly following conventions. If it's actually nicer to read is mostly preference I guess, so it's not a very strong argument.

Since this is more a question, and it's very unlikely that we'll ever change it, I'll close this issue.