diff --git a/index.html b/index.html index c6dd348..48458c1 100644 --- a/index.html +++ b/index.html @@ -371,7 +371,7 @@ result = some_function_that_takes_arguments(

Should a line break before or after a binary operator?

-

For decades the recommended style has been to break after binary operators. However, recent reseach unearthed recommendations by Donald Knuth to break before binary operators, in his writings about typesetting 4. Therefore it is permissible to break before or after a binary operator, as long as the convention is consistent locally. For new code Knuth's style is suggested.

+

For decades the recommended style has been to break after binary operators. However, recent research unearthed recommendations by Donald Knuth to break before binary operators, in his writings about typesetting 4. Therefore it is permissible to break before or after a binary operator, as long as the convention is consistent locally. For new code Knuth's style is suggested.

Some examples of code breaking before binary Boolean operators: