2020-01-21 20:25:10 +01:00
|
|
|
# No Code Style Guide
|
|
|
|
|
|
|
|
All no code programs are the same, regardless of use case, any code you write is a liability.
|
|
|
|
|
|
|
|
## File Extensions
|
|
|
|
|
2023-02-28 21:37:30 +01:00
|
|
|
No code is stored in files, but if you must, use the `.no` file extension.
|
2020-01-21 20:25:10 +01:00
|
|
|
|
|
|
|
```
|
|
|
|
main.no
|
|
|
|
```
|
|
|
|
|
|
|
|
## Linters
|
|
|
|
|
|
|
|
There is only one way to write no code and the `du` command can help you identify any issues.
|
|
|
|
|
|
|
|
```
|
|
|
|
du -h main.no
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
0 main.no
|
|
|
|
```
|
|
|
|
|
|
|
|
> The only valid code is no code.
|
|
|
|
|
|
|
|
## Code Reviews
|
|
|
|
|
|
|
|
The no code community has adopted the following conventions when reviewing code changes:
|
|
|
|
|
|
|
|
When the change contains no code additions or modifications:
|
|
|
|
|
|
|
|
```
|
|
|
|
LGTM # Looks Good To Me
|
|
|
|
```
|
|
|
|
|
|
|
|
When the change includes code additions or modifications:
|
|
|
|
|
|
|
|
```
|
|
|
|
CIAL # Code Is A Liability
|
|
|
|
```
|
|
|
|
|
|
|
|
> Change requests that fall into this category should be rejected immediately.
|