When I write code, I try to group lines of similar code together, then leave a blank line and write another block.
I believe this contributes to the neatness and readabi
Spaces help to make your code more readable and I think the consensus here is that they are not for the most part a bad idea. But nobody seems to have pointed out that along with the blank line a comment may not be amiss.
/* This section preps the widgets for display */
block
of some
code
/* This section passes the widgets to the display handler */
and
so
on
Remember most code will be read many times over it’s life so anything you can do to make life easier for future maintainers is a great plus.