2+2=4; Four Eyes Principle


What is 2 + 2 = 4; four eyes principle?
Four eyes principle, work on base of two man rule over system for correctness, maker and checker, in Information Technologies IT word, coder and reviewer.





What is advantage of four eyes principle?
Very simple, we have coder and reviewer in place, as coder write code for app/system in respective language then review will do the review and so on. This process will happen till end of system delivery.

e.g. 
Coder, write the code in java:
 public class ClsMain
 {
 Public static void main(String arg[]){
 System.out.println(“Hello
 }
 }

Reviewer, review the code and suggest for correctness:
 /*****************************************************/
 /* ClsMain.java, for printing the “Hello, http://tutorialbyexample.com”  
 /* Author : Tutorial by Example
 /* Date : 06-Jul-2015
 /*****************************************************/
 public class ClsMain{
     /* Main method with args as string parameters */
     public static void main(String[] args) {
         System.out.println("Hello, http://tutorialbyexample.com");
    }
 }

Note: this principle is already implemented in so many product base organizations.

References:



2 comments:

  1. Great Article android based projects

    Java Training in Chennai

    Project Center in Chennai

    Java Training in Chennai

    projects for cse

    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

    ReplyDelete

Please provide your input, it will honer for me...