From 6432c9c7106a3162a1b8e3ffd3807e272d76817d Mon Sep 17 00:00:00 2001 From: yegor256 Date: Mon, 21 Jun 2021 14:09:26 +0300 Subject: [PATCH] simple removed --- paper/examples.tex | 8 ++++---- paper/syntax.tex | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/paper/examples.tex b/paper/examples.tex index ad0398c1e5..89020f425e 100644 --- a/paper/examples.tex +++ b/paper/examples.tex @@ -1,4 +1,4 @@ -The following examples demonstrate simple Java programs and their alternatives +The following examples demonstrate a few Java programs and their alternatives in \eo{}. \subsection{Fibonacci Number} @@ -38,7 +38,7 @@ \subsection{Fibonacci Number} \subsection{Determining Leap Year} -Consider a simple program to determine whether the year, provided +Consider a program to determine whether the year, provided by the user as console input, is leap or not. The Java code, as suggested by~\citet[pp.105--106]{liang2012}, would look like this (the code style was slightly modified): @@ -213,8 +213,8 @@ \subsection{Streams} Working with a flow of binary or text data requires the use of stream objects, as explained by~\citet[p.226]{metsker2002}. -A non-canonical Java stream may be presented by a simple -two-methods interface and a simple implementation of it: +A non-canonical Java stream may be presented by +a two-methods interface and a sample implementation of it: \begin{ffcode} interface Stream { diff --git a/paper/syntax.tex b/paper/syntax.tex index ae42d95e0a..4295df1c40 100644 --- a/paper/syntax.tex +++ b/paper/syntax.tex @@ -151,7 +151,7 @@ \subsection{Identity, State, and Behavior} \subsection{Indentation} -This is an example of a simple abstract object \ff{vector}, where +This is an example of an abstract object \ff{vector}, where spaces are replaced with the ``␣'' symbol in order to demonstrate the importance of their presence in specific quantity (for example, there has to be exactly one space after the closing square bracket at the