Always write good code.
Jack Cheng quoted Adam Wiggins’ Order of Operations for writing code:
- Make it work.
- Make it elegant.
- Make it fast.
- Make it secure.
I disagree. The biggest problem is that this ignores reality: once it works, how likely are you to go back and make it elegant, fast, and secure?
Write good code the first time.
Marco, thank you. I wish everyone had the same understanding of how you should write code, any code. Personally, I don’t think those 4 items should be hirarchal steps, they should be features. Although the first one is kinda stupid, it always has to work. Plus, you can cut back how much time you spend on speed and performance if you plan and/or outline what it is you’re code will accomplish.