I disagree with this change. The four distinct conditionals in the while loop are for a reason: to detail the specific carriage return/line feed combinations we scan for, and the impact each has when detecting a line. Moving one part of the conditional inside the other makes understanding the combinations more difficult.
I disagree with this change. The four distinct conditionals in the
while
loop are for a reason: to detail the specific carriage return/line feed combinations we scan for, and the impact each has when detecting a line. Moving one part of the conditional inside the other makes understanding the combinations more difficult.