STANDARD & Document

 

Nguyen Tien Si

GO1

Why we need?

  • Coding Standard
  • Best Practices
  • Project Document

Because

Bad "commit message"

Bad "naming"

Fix naming again?

Bad "coding style"

The difference between project and project?

frequently, got questions

  • How to find the "solr" server?
  • What's dev/staging site?
  • How to find "design" files of this project?
  • Who worked on this project?
  • and many other question?

Why Have a Coding Standard?

  • Improved code maintainability
  • Improved code quality
  • Improved development speed
  • Better teamwork
  • Make it quicker and easier for a developer to move to a different project or team.
  • Better performance under pressure
  • Fewer bugs
  • The coding standard should be a living document

Why Perform Code Reviews?

  • Find and fix defects early.
  • Code review often proves more cost effective than testing.
  • Good mentoring/training/learning/team building, especially for new hires.
  • Improve overall quality of the code.

proposed coding standard & Best practices

Why project documentation is important?

  • You will be using your code in 6 months
  • You want people to use your code
  • You want people yo help out
  • It makes your code better
  • You want to be a better writer

PROPOSED Project Documentation

references

Question?

Standard & Document

By Nguyen Tien Si

Standard & Document

Coding Standard - Best Practices - Project Document

  • 914