Hi Robert,

Thanks for sharing that. I was thinking about doing something very similar. 
However, because my initial proposal on other channels was met with a bit of 
resistance, I would like to know what the general feeling is towards 
introducing a uniform code style guide to Oak.

Best,
Steffen

> On May 22, 2024, at 17:07, Robert Munteanu <romb...@apache.org> wrote:
>
> EXTERNAL: Use caution when clicking on links or opening attachments.
>
>
> Hi Steffen,
>
> On Wed, 2024-05-22 at 13:54 +0000, Steffen Van wrote:
>> Hi everyone,
>>
>> I would like to suggest that we introduce a code formatter in Oak.
>> Having a formatter will make the code easier to read and keep the
>> whole codebase more maintainable. Especially for new people.
>>
>> I'm not picky about which particular formatter we use — whether it's
>> Google's java-format, spotless, or whatever. I’m not particularly
>> picky about one particular, just that there is one. Most, if not all,
>> major open-source projects enforce a strict code-style for a good
>> reason. I think we should do the same.
>
> We recently added a code formatter to Sling, here's a reference to how
> we did it
>
>  https://issues.apache.org/jira/browse/SLING-12186
>
> Of course, we have a different setup - hundreds of small repos - so
> what worked for us might not be best for Oak.
>
> Thanks,
> Robert

Reply via email to