Skip to content

Commit 47a77a9

Browse files
committed
DESIGN: Fix a few typos
A few typos jumped at me when looking around the DESIGN.md file.
1 parent 855513f commit 47a77a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

DESIGN.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ project and its various components.
1111
to version using existing mechanisms, and more concise.
1212

1313
* **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
1515
impossible to easy update, and frequently suffers from bugs and
1616
misunderstandings. If something is being copy-pasted, it should
1717
refactored into a library component or remote
@@ -58,7 +58,7 @@ project and its various components.
5858
Kubernetes API machinery should not feel out of place. Abstractions
5959
should be intuitive to new users but feel familiar to experienced ones.
6060
Abstractions should embrace the concepts of Kubernetes (e.g. declarative
61-
idemptotent reconcilers) while simplifying the details.
61+
idempotent reconcilers) while simplifying the details.
6262

6363
## controller-runtime
6464

@@ -78,15 +78,15 @@ project and its various components.
7878
code.
7979

8080
* **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
8282
code. However, when possible interfaces that use reflection should be
8383
designed to avoid requiring the end-developer to use type assertions,
8484
string splitting, which are error-prone and repetitive. These should be
8585
dealt with inside controller-runtime internals.
8686

8787
* **Defaults Over Constructors**: When not a huge performance impact,
8888
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
9090
with values, and don't work well with optional values.
9191

9292
## Development

0 commit comments

Comments
 (0)