Notes WWDC 2019 : Great Developer Habits
Référence : Session 239 - Great Developer Habits
Hidden details matter
Organize
- Groups: map with folders
- Storyboards: split big Storyboards
- Modern
- update to recommended settings when updating Xcode
- use new Xcode build system
- Delete unneeded code (rely on versioning system)
- Zero warnings
Track
- Always use source control
- Keep commits small
- Write useful commit messages
- Use branches
Document
- Write code comments
- Use descriptive variable and constant names
- Include documentation
Test
- Write unit tests
- Run unit tests before committing code
- Build a foundation for continuous integration
Analyze
- Test with Network Link Conditioner
- Use address sanitizer
- Use thread checker
- Checkout Debug Gauges
Evaluate
- Use code review
- Discover local meetups, conferences
- Proofread
Decouple
- Organize code with packages and frameworks
Manage
- Benefits and risks of dependencies