The documentation is the "src" itself, there is no official guide. Also a very good approach would be to use advanced LLMs, just try to make a meaningful conversation with it and you will get a ton of information.
On Thu, Dec 12, 2024 at 4:57 PM Christian Schulte <c...@schulte.it> wrote: > 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 > >