Hi @misc,

is there something specific for OpenBSD like style(9) but for semantics?
I understand that style(9) is all about syntax. As a long term Java
developer having lost all interest in Java, I am searching for something
like PMD, Checkstyle etc. for C and rules OpenBSD developers tend to
adhere to. Recently read some C comments like

/*
 * This is designed to be small, not fast.
 */

and things like that. In Java, we always had some CI server checking
various design guidelines like

A method should have only one return statement.

and things like this. In C this is very different due to e.g. lack of
exceptions and so. I am still failing to find semantic design guidelines
or best practices documentation for C which I believe OpenBSD developers
adhere to but never documented them somewhere. Could you please point me
to some documentation regarding this? Thank you.

-- 
Christian

Reply via email to