File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ <h3 id="package-names">Package names</h3>
354
354
< p >
355
355
The importer of a package will use the name to refer to its contents,
356
356
so exported names in the package can use that fact
357
- to avoid stutter .
357
+ to avoid repetition .
358
358
(Don't use the < code > import .</ code > notation, which can simplify
359
359
tests that must run outside the package they are testing, but should otherwise be avoided.)
360
360
For instance, the buffered reader type in the < code > bufio</ code > package is called < code > Reader</ code > ,
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ <h3 id="principles">
208
208
complexity. There are no forward declarations and no header files;
209
209
everything is declared exactly once. Initialization is expressive,
210
210
automatic, and easy to use. Syntax is clean and light on keywords.
211
- Stuttering (< code > foo.Foo* myFoo = new(foo.Foo)</ code > ) is reduced by
211
+ Repetition (< code > foo.Foo* myFoo = new(foo.Foo)</ code > ) is reduced by
212
212
simple type derivation using the < code > :=</ code >
213
213
declare-and-initialize construct. And perhaps most radically, there
214
214
is no type hierarchy: types just < i > are</ i > , they don't have to
You can’t perform that action at this time.
0 commit comments