commit | 19f3a3d1077c6fcccbd527a5aced0e8c4c02f6ab | [log] [tgz] |
---|---|---|
author | Keir Mierle <keir@google.com> | Fri Jun 10 19:24:43 2022 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 13 23:26:07 2022 +0000 |
tree | 82ebf890f794d24e601ecf36ff9bd4b01a5faaad | |
parent | 36c56d1d47415d5192c95049796aa1bf58caf1f9 [diff] |
docs: Clarify control flow C++ style Add a section clarifying expected control flow style; in particular, that early return and continue is preferred over right-creeping functions and loops. Change-Id: I3068780a9b50ca92adc62d160915205131309274 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/97806 Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Pigweed-Auto-Submit: Keir Mierle <keir@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/