questions about && - page 3

 

I dont know about yours, but my larger projects usually have more lines not less.

I tend to keep one statement at a time.

 

I think that it is a matter of personal preference.

I prefer to use && instead of a series of ifs. I don't know that it is more efficient, but because I use indentation in my code, too many ifs mean that a line can start halfway across the screen so that maybe my code won't fit and I end up scrolling back and forth. I don't like that as I want all my code to fit on the screen.

Reason: