Algebraic-Programming / ALP

Home of ALP/GraphBLAS and ALP/Pregel, featuring shared- and distributed-memory auto-parallelisation of linear algebraic and vertex-centric programs. Soon with more to come!
Apache License 2.0
25 stars 4 forks source link

Update code style guidelines #5

Open anyzelman opened 2 years ago

anyzelman commented 2 years ago

Some guidelines are missing, while clang-format is no longer used. The documentation should be updated accordingly.

anyzelman commented 2 years ago

Comment from @vdimiczrc : the standard of no space between & and a variable name conflicts with the "generous spacing" rule

anyzelman commented 2 years ago

To all -- please feel welcome to add similarly missing (or confusing) guidelines here:)

djelovina commented 2 years ago

It would be nice to have configurations files for the most common editors, i.e. vim, Emacs, Visual Studio Code.. which are compatible with our coding style. I can make one for Emacs.

anyzelman commented 2 years ago

That would be great-- thanks!!

For Vim, the defaults are pretty much fine so nothing seems required there:)