WWDC 2019 Great Developer Habits Summary

YongJunCha·2021년 11월 16일
0

WWDC

목록 보기
3/4
post-thumbnail

Great Developer Habits WWDC 2019

Summary

Organize

  • Functional organization with groups
  • Mirror project structure and file structure
  • Break apart large story board
  • Modernize your project file
  • Throw away code scraps

Track

  • Use source control
  • keep commits small and isolated
  • Write usefulf commit messages
  • Utilize branches for bug and feature work

Document

  • Comments are critical for future understanding
  • Good Comments provide background and reasoning
  • Include documentation

Unit Test

  • Write unit tests
  • Run unit tests before commiting code
  • Build a foundation for continuous integration

Analyze

  • Simulate poor network with Network Link Coditioner
  • Use Sanitizers and checker
  • Measure performance and efficiency with Debug Gauges
  • Investigate issue with instruments

Evaluate

  • Include code review as part of your practice
  • Understand each lin
  • Build it
  • Run tests
  • proofread for style, spelling, syntax

Decouple

  • Determine functional segments and break them out
  • Scale your work across multiple apps
  • Improve efficiency with extension
  • Documentation is critical

Manage

  • Use community and opensource projects responsibly
  • Understand dependencies thoroughly
  • Ensure that privacy is respected
  • Have a plan if a dependency goes away or no longer maintained

Conclusion

우선 나에게 가장 와닿았던 것은 HeadSpace 쪽에 Comment를 남겨주는 것이었다.
물론 지금도 유지보수가 편하기 위해 코드에 대한 코멘트는 남기지만 배경에 대해서는
많이 언급하지 않았던 것 같다.

두 번째는 Modernize 부분에서 warning을 모두 없애라는 것이었다.
실천해서 firebase warning 부터 작게 작게 고쳐 나가야겠다.

세 번째는 커밋의 단위를 작게하라였다. 가끔 기능을 만들다보면 커밋 단위가 커져 풀을 중간에
안 받는 기간이 커지는데, 소스 추적을 위해서라도 커밋 단위를 최소화 하라는 것이 인상적이었다.

아직 연차가 그렇게 많지 않아서 와닿는 것은 이 정도인데 나중에 찾아보면 더 느끼는 것이
많은 것 같아서 포스팅한다.

0개의 댓글