Page 226 - DCAP305_PRINCIPLES_OF_SOFTWARE_ENGINEERING
P. 226

Principles of Software Engineering                             Sarabjit Kumar, Lovely Professional University



                   Notes                                Unit 11: Coding Process



                                   CONTENTS

                                   Objectives
                                   Introduction
                                   11.1  Incremental
                                       11.1.1  Incremental Life Cycle Models
                                   11.2  Test Driven
                                       11.2.1  Test Driven Development Methodology
                                       11.2.2  Benefits of Test Driven Development
                                   11.3  Pair Programming
                                       11.3.1  The Driver and Navigator
                                       11.3.2  Necessity of Pair Programming
                                       11.3.3  How Does Pair Programming Work?
                                   11.4  Summary
                                   11.5  Keywords
                                   11.6  Review Questions
                                   11.7  Further Readings

                                 Objectives

                                 After studying this unit, you will be able to:
                                    •  Define incremental

                                    •  Discuss the test driven
                                    •  Explain the pair programming

                                 Introduction


                                 Software  coding  standards  are  language-specific  programming  system  that  greatly  decrease
                                 the probability of introducing errors keep on your applications, regardless of which software
                                 development model (iterative, waterfall, and so on) is being used to create that application.
                                 Software coding standards originated from the intensive learn of industry experts who analyzed
                                 how bugs were generated when code was written and connected these bugs to specific coding
                                 practices. They took these correlations between bugs and coding practices and came up with a set
                                 of rules that when used prevent coding errors from occurring. Coding standards offer incredible
                                 value to software development organizations because they are pre-packaged automated error
                                 prevention practices; they close the criticism loop between a bug and what must be done to
                                 prevent that bug from reoccurring.

                                 In a squad environment or group collaboration, coding standards ensure uniform coding practices,
                                 reducing oversight errors and the time spent in code reviews. When work is outsourced to a
                                 third-party contractor, having a set of coding principles in place ensures that the code produced
                                 by the contractor meets all quality guidelines mandated by the client company. Coding Standards
                                 are not merely a way of enforcing naming conventions on your code.



        220                               LOVELY PROFESSIONAL UNIVERSITY
   221   222   223   224   225   226   227   228   229   230   231