xlzior / pe

0 stars 0 forks source link

DG: Code snippet has line breaks at weird places, hindering the reader's comprehension #5

Open xlzior opened 3 years ago

xlzior commented 3 years ago

image.png

The point of these two code snippets is to highlight the difference between the original and the edited version, however, the code snippets are cut off awkwardly (especially equalsIgnoreCase)

Perhaps you could have inserted the line breaks yourself according to acceptable Java whitespacing e.g.

return Arrays.stream(wordsInPreppedSentence) .anyMatch(preppedWord::equalsIgnoreCase);

which would also make it easier to compare the two code snippets

soc-pe-bot commented 3 years ago

Your response not required for this bug as the team has accepted the bug as it is.