>DansTonCode();

Tous les codes sources "Mais pourquoi ?"page 22

JavaScript
 10 August, 2014 à 11:19
#139
if ($(this).hasClass('active')) {} else {			// WTF :|
	advancedSearchApla.show();
	$(this).addClass('active');
}
PHP
  8 August, 2014 à 12:51
#179
<?php

if ($someVariable == "some value") {
}
else {
  // do a lot of stuff, like echo html and more
}
PHP
  7 August, 2014 à 08:44
#207
// Not a joke, I've really seen that
for ($i=0 ; $i<3 ; $i++) {
  switch($i) {
    case 1:
      // do some stuff
      break;
    case 2:
      // do some stuff
      break;;
    case 3:
      // do some stuff
      break;
  }
}