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
I'm not going to begin to suggest any specifics. There are plenty of good suggestions here and elsewhere on the interweb.
But I would say be consistent. At least within an application or module - since I know I refine my approach from time to time, but I try to keep all code in the same places looking the same.
If you are consistent, it's easy enough for any other developer to pick your tempo and style.