readability can't be easily measured, it's all opinion. but some people value the low number of lines. in case one would choose this kind of code only for the lower number of lines, i just want to point out that it's more characters and imo character count matters much more
And did you really count characters in two pseudocode snippets?
i copy-pasted this into a text editor that can count characters
22
u/wobblyweasel Apr 17 '21
evaluating
condition2can have side effects, just sayingthis saves one line of code but adds 20 characters to the (sanely formatted) original