Thinking about it, I&#x27;d say the second one is better. I think it parse better in my mind as to what is meant.<p>However I also always comment nested logic chains with their intent in plain language. I have made bugs in going from intent-&gt;complex logic to often, and I found that writing comments at each fork greatly reduces these errors as well as the odds of missing an edge case.<p>e.g., I&#x27;d write &quot;if(a) and not b&quot; in plain English at the nested else statement, possibly followed by a &quot;what &amp; why&quot; comment at the do_thing_b statement.