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

+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;
  });
 

-3

(from MySQL table list)

EN_MENU
FR_MENU
DE_MENU
(...)
EN_NEWS
FR_NEWS
DE_NEWS
(...)
EN_FOOTER
PL_FOOTER
DE_FOOTER
 

+8

[ ... memory limit ... ]
# Gerrit is nice because when I limited him to 100MB it
# uses only 500MB