I am wondering what rules you respect in order to get clean and great code ? what rules you have for pre-develpment stage of a coding project, development stage and post development stage.

Like no spaghetti code, use more than one programming language if it feets better your project...

Can you please help me with this ? and just let the advices flows?

Thank you guys!