jb…
a weblog by Jonathan Buys
Personal Rules for Cocoa Happiness
- Understand every line of code written in my apps
- Use frameworks sparingly (see rule 1).
- Do not copy and paste code (see rule 1).
- Add lots of comments so I remember what I was doing at any given time.
- Manage memory as I go, don’t wait until I’m nearly finished and then go and “clean it up”.
- Draw out the application on paper before writing a single line of code.
- Search Apple’s documentation, CocoaDev mailing list archives, Google, and anything else I can think of before asking for help.
- When programming, quit Mail, Twitter, NetNewsWire, and IM. Turn on some non-distracting music in iTunes.
- Get a cup of coffee.
- Remember, “This is hard, you are not stupid.”