Pull request: improve docs
Merge in DNS/adguard-home from update-docs to master Squashed commit of the following: commit 228c432adecf9f7927a692780a4762f1135b8cd6 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Nov 20 18:18:10 2020 +0300 improve docs
This commit is contained in:
@@ -47,6 +47,9 @@ The rules are mostly sorted in the alphabetical order.
|
||||
* Document everything, including unexported top-level identifiers, to build
|
||||
a habit of writing documentation.
|
||||
|
||||
* Constructors should validate their arguments and return meaningful errors.
|
||||
As a corollary, avoid lazy initialization.
|
||||
|
||||
* Don't put variable names into any kind of quotes.
|
||||
|
||||
* Don't use naked `return`s.
|
||||
|
||||
Reference in New Issue
Block a user