I have a few tips for developers out there:
- Be lazy. Please. Reluctance to write code will make you a better developer, because you will end up writing only code that matters.
- Try to make your code easy for the next developer or the poor sod who will be using or maintaining your code. This poor sod may just be yourself, the next day, some weeks later, some months later, or some years later.
- If you are a beginner then by all means write “hello worlds” to your hearts content, in your learning environment. If you are really eager to learn, read code from more experienced developers and spend time debugging them.