From d19ed486df2f660e52f8e73c401be0784e852990 Mon Sep 17 00:00:00 2001 From: Chris James Date: Wed, 26 Jun 2019 13:16:30 +0100 Subject: [PATCH] re-wording to hopefully make merit of examples clearer - fixes #176 --- integers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integers.md b/integers.md index c5b90e908..dc41d58c1 100644 --- a/integers.md +++ b/integers.md @@ -102,7 +102,7 @@ func Add(x, y int) int { If you really want to go the extra mile you can make [examples](https://blog.golang.org/examples). You will find a lot of examples in the documentation of the standard library. -Often code examples go out of date with what the actual code does because they live outside of the real code and don't get checked. +Often code examples that can be found outside the codebase, such as a readme file often become out of date and incorrect compared to the actual code because they don't get checked. Go examples are executed just like tests so you can be confident examples reflect what the code actually does.