Putting a backslash after a part of the statement basically means ignore any newlines between this and the next characters so you can indent it however you want
Putting a backslash after a part of the statement basically means ignore any newlines between this and the next characters so you can indent it however you want
Of course it’s a matter of personal preference, but I’m exactly the opposite. I’m ending a line by hitting the enter key, why should I have to go through the trouble of hitting the ; key for every single line, when more often than not I’m not breaking single lines up to multi-line. On those rarer occasions I can use \ key. It probably helps that I was “raised” on a white space sensitive language. But to me, it makes way more sense to let the whitespace mean the same thing to the computer that it does to me.
All of that said, I’m still wrapping my if statements in () though. I don’t care if is not required. Just looks better to me.