Am I doing it right?

Every time I write a single line of code I always ask this question to myself: “Am I doing it right?” or “Is this the right place to put my code”. I think only by asking these kinds of questions to my ...