You could refresh your memories from the time before you started to complicate stuff by reading (or rereading) the marvelous book "code complete"
https://www.amazon.com/Code-Complete-Practical-Handbook-Cons...
https://www.amazon.com/Code-Complete-Practical-Handbook-Cons...
You should read it.