I'm not sure this is the right Topic Board for the this type of question, so feel free to move it.
I've been coding for a few years now, and still learn new things everyday (thanks to the programmming.com community )
But lately as the projects grow bigger I feel that my code is a little sluppy, and not organized or readable for anyone else but me... and even for myself when I don't see that part of the code for a long time, I spend hours to read the functions trying to understand "what the hell was I thinking..."
My question is; Is there any good document I can read on clean and efficient coding? Like how many spaces, how long should each function be, etc.
Because I'm looking to improve my code and style, but I'm not sure how...