atf icon indicating copy to clipboard operation
atf copied to clipboard

Adopt style(9) using clang-format

Open fel1x-developer opened this issue 5 months ago • 2 comments

I find atk's coding style doesn't follow some conventions, such as having space in <> or putting pointer * or reference symbol & with variable types, not variable names.

FreeBSD's coding style style(9) can be applied here. One main exception in style(9) opposed to the "convention" is that style(9) use 8-space indentation while most projects use 4-space indentation. (2-space indentation is predominant in web dev). We can discuss whether or not to use 8-space indentation if needed.

fel1x-developer avatar Jan 23 '24 19:01 fel1x-developer