4.4. Selection of Major Construction Practices

 < Free Open Study > 

Part of preparing for construction is deciding which of the many available good practices you'll emphasize. Some projects use pair programming and test-first development, while others use solo development and formal inspections. Either combination of techniques can work well, depending on specific circumstances of the project.

The following checklist summarizes the specific practices you should consciously decide to include or exclude during construction. Details of these practices are contained throughout the book.

cc2e.com/0496

Checklist: Major Construction Practices

Coding

  • Have you defined how much design will be done up front and how much will be done at the keyboard, while the code is being written?

  • Have you defined coding conventions for names, comments, and layout?

  • Have you defined specific coding practices that are implied by the architecture, such as how error conditions will be handled, how security will be addressed, what conventions will be used for class interfaces, what standards will apply to reused code, how much to consider performance while coding, and so on?

  • Have you identified your location on the technology wave and adjusted your approach to match? If necessary, have you identified how you will program into the language rather than being limited by programming in it?

Teamwork

  • Have you defined an integration procedure that is, have you defined the specific steps a programmer must go through before checking code into the master sources?

  • Will programmers program in pairs, or individually, or some combination of the two?

Quality Assurance

  • Will programmers write test cases for their code before writing the code itself?

  • Will programmers write unit tests for their code regardless of whether they write them first or last?

  • Will programmers step through their code in the debugger before they check it in?

  • Will programmers integration-test their code before they check it in?

  • Will programmers review or inspect each other's code?

Cross-Reference

For more details on quality assurance, see Chapter 20, "The Software-Quality Landscape."


Tools

  • Have you selected a revision control tool?

  • Have you selected a language and language version or compiler version?

  • Have you selected a framework such as J2EE or Microsoft .NET or explicitly decided not to use a framework?

  • Have you decided whether to allow use of nonstandard language features?

  • Have you identified and acquired other tools you'll be using editor, refactoring tool, debugger, test framework, syntax checker, and so on?

Cross-Reference

For more details on tools, see Chapter 30, "Programming Tools."



 < Free Open Study > 


Code Complete
Code Complete: A Practical Handbook of Software Construction, Second Edition
ISBN: 0735619670
EAN: 2147483647
Year: 2003
Pages: 334

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net