openthread / wpantund

Wireless Network Interface Daemon for Low-Power Wireless SoCs
Apache License 2.0
174 stars 110 forks source link

Code style guide #181

Open bukepo opened 7 years ago

bukepo commented 7 years ago

I noticed that the code style is not consistent in this repo. Shall we provide a code style guide?

bukepo commented 6 years ago

How about apply the same code style of OpenThread? @abtink

darconeous commented 6 years ago

The style that I used when I started this project was:

The naming style is a bit of a mess admittedly.

darconeous commented 6 years ago

I would recommend not changing the indentation of the entire project. That will make using git blame tedious.