Hi,

I think all these suggestions make sense. Please note this is for the AGE
extension itself and is not currently related to the projects in the
'drivers' directory. Which probably warrants its own discussion.

On Wed, Mar 10, 2021 at 10:40 AM John Gemignani <jgemign...@apache.org>
wrote:

> Hi,
>
> The following coding standard adjustments have been suggested by our team
> in our last meeting. It is felt that going forward we need to conform to
> these.
>
>     1) All functions should have top level descriptions (comments) going
> forward.
>     2) All functions should contain more comments on functionality. It
> doesn't have to be a book or a tome.
>     3) Use #define, for any string or character constants.
>     4) Use enums whenever possible.
>     5) Use macros where possible.
>     6) For the if/else structures, the preference is for braces, even for
> one line of code.
>     7) If you are working on a function that does not conform, try to
> bring it up to date.
>
> John
>

Reply via email to