Wednesday, July 23, 2025

program to indent C code?

Hi!,

I have been learning to program in C on OpenBSD
and it is super great. I love that you can
just use builtin stuff to write code, like
the man pages are great.

My issue is that I have grown to like code
formatters after using them in golang and then
python. I use the builtin 'indent' which is
great, BUT it chokes on more cryptic stuff like
nested parens, and array literals.

Do other OpenBSD C programmers use code formatters?
What do they use?
Should I just be more comfortable formatting my code
as I type?

Thanks!,
--
Paul Wisehart

No comments:

Post a Comment