@@ -11,7 +11,7 @@ project and its various components.
11
11
to version using existing mechanisms, and more concise.
12
12
13
13
* ** Copy-pasting is bad** : Copy-pasted code suffers from similar problems
14
- as code generation, except more accutely . Copy-pasted code is nearly
14
+ as code generation, except more acutely . Copy-pasted code is nearly
15
15
impossible to easy update, and frequently suffers from bugs and
16
16
misunderstandings. If something is being copy-pasted, it should
17
17
refactored into a library component or remote
@@ -58,7 +58,7 @@ project and its various components.
58
58
Kubernetes API machinery should not feel out of place. Abstractions
59
59
should be intuitive to new users but feel familiar to experienced ones.
60
60
Abstractions should embrace the concepts of Kubernetes (e.g. declarative
61
- idemptotent reconcilers) while simplifying the details.
61
+ idempotent reconcilers) while simplifying the details.
62
62
63
63
## controller-runtime
64
64
@@ -78,15 +78,15 @@ project and its various components.
78
78
code.
79
79
80
80
* ** A Little Bit of Magic Goes a Long Way** : In absence of generics,
81
- reflection is acceptible , especially when it leads to clearer, conciser
81
+ reflection is acceptable , especially when it leads to clearer, conciser
82
82
code. However, when possible interfaces that use reflection should be
83
83
designed to avoid requiring the end-developer to use type assertions,
84
84
string splitting, which are error-prone and repetitive. These should be
85
85
dealt with inside controller-runtime internals.
86
86
87
87
* ** Defaults Over Constructors** : When not a huge performance impact,
88
88
favor auto-defaulting and ` Options ` structs over constructors.
89
- Constructors quickly become unclear due to lack of names associatiated
89
+ Constructors quickly become unclear due to lack of names associated
90
90
with values, and don't work well with optional values.
91
91
92
92
## Development
0 commit comments