How to code correctly

this discussion is about tops, questions, and advice on how to code.

This could be a bit huge for a topic. Maybe you want to direct the discussions towards a specific part of writing good code?