All the sources codes "Teamwork"page 3
JavaScript
August 10, 2014 am31 11:19
#139
if ($(this).hasClass('active')) {} else { // WTF :|
advancedSearchApla.show();
$(this).addClass('active');
}
PHP
August 07, 2014 am31 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;
}
}
Java
August 03, 2014 am31 08:01
#202
try {
}
catch (SQLException ex) {
// Basically, without saying too much, you're screwed. Royally and totally.
}
catch(Exception ex)
{
//If you thought you were screwed before, boy have I news for you!!!
}