diff --git a/style.md b/style.md index b9c1528..0250533 100644 --- a/style.md +++ b/style.md @@ -547,11 +547,9 @@ should use `public`, but AngularJS should use `protected`. > Warning: Getters and setters have to be transpiled into bloated code. > It is a good practice to avoid using getters and setters in general. -Getters and setters for class members may be used. The getter method must be a -[pure function](https://en.wikipedia.org/wiki/Pure_function) (i.e., result is -consistent and has no side effects). They are also useful as a means of -restricting the visibility of internal or verbose implementation details (shown -below). +Getters and setters for class members may be used. The getter method must have +no side effects. They are also useful as a means of restricting the visibility +of internal or verbose implementation details (shown below). ```ts {.good} class Foo {