From 0d8bea30737ea9c3d496b8ef807952b497ed00cb Mon Sep 17 00:00:00 2001 From: Aleksandr H Date: Mon, 1 Jul 2019 08:57:49 -0400 Subject: [PATCH] Accept suggestion: replace "—ones" with " that" Co-Authored-By: Lasse Martin Jakobsen --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 42b0fc5..26c573f 100644 --- a/README.md +++ b/README.md @@ -1222,7 +1222,7 @@ As mentioned in a previous section, Go determines whether a concrete type implem type EmptyInterface interface {} ``` -The above is equivalent to the built-in type `interface{}`. A natural consequence of this is that we can write generic functions—ones that accept any type as arguments. This is extremely useful for certain kinds of functions, such as print helpers. Interestingly, this is actually what makes it possible to pass in any type to the `Println` function from the `fmt` package: +The above is equivalent to the built-in type `interface{}`. A natural consequence of this is that we can write generic functions that accept any type as arguments. This is extremely useful for certain kinds of functions, such as print helpers. Interestingly, this is actually what makes it possible to pass in any type to the `Println` function from the `fmt` package: ```go func Println(v ...interface{}) { @@ -1348,4 +1348,4 @@ As a final note, it's worth mentioning that the notion of clean code is particul It's also important to understand that fanaticism is never the goal with clean code. A codebase will most likely never be fully 'clean,' in the same way that your office desk probably isn't either. There's certainly room for you to step outside the rules and boundaries covered in this article. However, remember that the most important reason for writing clean code is to help yourself and other developers. We support engineers by ensuring stability in the software we produce and by making it easier to debug faulty code. We help our fellow developers by ensuring that our code is readable and easily digestible. We help everyone involved in the project by establishing a flexible codebase that allows us to quickly introduce new features without breaking our current platform. We move quickly by going slowly, and everyone is satisfied. -I hope you will join this discussion to help the Go community define (and refine) the concept of clean code. Let's establish a common ground so that we can improve software—not only for ourselves but for the sake of everyone. \ No newline at end of file +I hope you will join this discussion to help the Go community define (and refine) the concept of clean code. Let's establish a common ground so that we can improve software—not only for ourselves but for the sake of everyone.