Most IDEs support automatic code formatting, and doing so on save. Or have it as a github hook.
coloredgrayscale
joined 2 years ago
Jenkins was invented b/c an engineer “got tired of incurring the wrath of his team every time his code broke the build.”
If it's a microservice architecture using something like openapi and code generators could be a solution. Then the proper classes / types are created during the build step.
Does not avoid the fields being unused, or service B using an older version before being rebuild.
The approach would be similar as a library, but works across different languages while changing the definition only on one place.
view more: next ›
Theoretically yes, practically you may have to deliver a whole runtime depending on the languagey making websites even bigger and slower to load initially. And unless it's a webapp with data processing on the client the perceived performance benefits may be negligible.