User Tools

Site Tools


great_developer_habits

**This is an old revision of the document!**

Keep Organized

  • Let go code scraps: Don't comment out old code. Delete them. You can find them in your git history.
  • Don't ignore warning: Treat warning as error. Fix them as you go on.

Use Source Control

  • Keep commit small: Keep it small, localized and self contained.
  • Write clean and helpful commit message: What is changed? Why change it?
  • Write code comment: Explain “why this code is written” and “How it fit into the whole picture”
  • Do Code Review

A Template of code document

- Summary
- How to use it in the code
- Discussion

Reference: - WWDC 2019 Great Developer Habbits: https://developer.apple.com/videos/play/wwdc2019/239/

great_developer_habits.1572594666.txt.gz · Last modified: 2019/11/01 15:51 by admin