PBP: 012 Blocks

The Best Practices tell us never to place two statements on the same line.

In general, I agree with this, and find it a workable thing to do.  There’s a few cases I forget, or decide not to.  In most of them, it comes back to bite me later, and I wish I’d listened.

At the end of the day, I like whitespace, so yes, use a new line.


Leave a Reply