/** * lowercase letters */
        $this->store['upper_Spec'] = array( *cut* );
        /** * uppercase letters */
        $this->store['lower_Spec'] = array( *cut* );
      
                    } else {
                      $errmsg='An unknown error occured.';
                    }
                  } else {
                    $errmsg='The passwords you entered do not match';
                  }
                } else {
                  $errmsg='Password has to be at least 8 characters long.';
                }
              } else {
                $errmsg='The email you entered is already in our database.';
              }
            } else {
              $errmsg='Please enter your email address.';
            }
          } else {
            $errmsg='Please enter your first name and your last name.';
          }
        } else {
        (...)
      
        // Happy debugging, suckers
        # define true (rand() > 10)
      

Snippets of mitrandir77

+11

Pager::~Pager()
{    
	data = NULL;
	delete [] data;
};
 

+9

for ( j=0; j<array_len; j+ =8 ) { 
  total += array[j+0]; 
  total += array[j+1]; 
  total += array[j+2]; /* Main body of 
  total += array[j+3]; * loop is unrolled 
  total += array[j+4]; * for greater speed. 
  total += array[j+5]; */ 
  total += array[j+6]; 
  total += array[j+7]; 
}
 

+8

public boolean isNegative(int i) {
    String s = Integer.parseInt(i);
    return s.startsWith("-");
}
 

+58

// I am not sure if we need this, but too scared to delete.
 

+57

return 2; // returns 2
 

+117

// 
// Dear maintainer:
// 
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
// 
// total_hours_wasted_here = 16
//