/** * 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)
      

+7

switch(page) {
		case 0:
			showCurrentCar(page);
			hidePreviousCar(currentModel);
			currentModel = page;
			break;
		case 1:
			showCurrentCar(page);
			hidePreviousCar(currentModel);
			currentModel = page;
			break;
		case 2:
			showCurrentCar(page);
			hidePreviousCar(currentModel);
			currentModel = page;
			break;
		case 3:
			showCurrentCar(page);
			hidePreviousCar(currentModel);
			currentModel = page;
			break;
}
 

anonymous

+16

... ? true : false
 

+6

if [ `which which` ]; then
  ...
else
  ...
fi
 

anonymous

+13

// Do you know how expensive a function call is?
const int sizeof_int = sizeof( int );
 

+58

return 2; // returns 2
 

anonymous

+100

int getRandomize(int randMax)
{
  srand ( time(NULL) );
  int randNum; = rand() % randMax + 1;
  return 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
//
 

+6

window.setTimeout(function() {
        $('#preloader_navigation_instructions_2')
        .animate({
            opacity: 1
        }, 400);
        $('#preloader_navigation_instructions_1')
        .animate({
            opacity: 0
        }, 400, function() {
            window.setTimeout(function() {
                $('#preloader_navigation_instructions_3')
                .animate({
                    opacity: 1
                }, 400);
                $('#preloader_navigation_instructions_2')
                .animate({
                    opacity: 0
                }, 400, function() {
                    window.setTimeout(function() {
                        $('#preloader_navigation_instructions_4')
                        .animate({
                            opacity: 1
                        }, 400);
                        $('#preloader_navigation_instructions_3')
                        .animate({
                            opacity: 0
                        }, 400, function() {
                            window.setTimeout(function() {
                                $('#preloader_navigation_instructions_5')
                                .animate({
                                    opacity: 1
                                }, 400);
                                $('#preloader_navigation_instructions_4')
                                .animate({
                                    opacity: 0
                                }, 400, function() {
                                    window.setTimeout(function() {
                                        $('#preloader_navigation_instructions_6')
                                        .animate({
                                            opacity: 1
                                        }, 400);
                                   (... 100 more lines ...)
 

+9

kk = pppp[pp];

(what is worse, both pppp and pp are global variables.)
 

+1

x = 5;
$(this).oneTime(500, function() {
       x = 5;
  });