about summary refs log tree commit diff
path: root/src/docs/temporary_assignment.txt
blob: 195b42cf0d492fc95d375594b1f8aad81238bab1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
### What it does
Checks for construction of a structure or tuple just to
assign a value in it.

### Why is this bad?
Readability. If the structure is only created to be
updated, why not write the structure you want in the first place?

### Example
```
(0, 0).0 = 1
```