enet icon indicating copy to clipboard operation
enet copied to clipboard

Improve code style consistency

Open OptoCloud opened this issue 3 years ago • 1 comments

Different code styles are scattered troughout the library

void someFunc() {
  if (somCond) {
  }
}

void someSecondFunc()
{
  if (somCond) {
  }
}

void someThirdFunc() {
  if (somCond)
  {
  }
}

More inline documentation would be nice as well

OptoCloud avatar Jan 20 '21 09:01 OptoCloud

@OptoCloud one solution is to use clang-format to enforce a standard. Although it will cause a lot of churn within the library.

warmwaffles avatar May 06 '21 13:05 warmwaffles