>FromYourCode();

All the sources codes "But why ?"page 35

Java
 June 21, 2014 am30 01:18
#172
if((text2.getText()).equals("1234"))
{
server_1 =1;
Server_1 = "correct";
}
else
{
server_1 = 0;
Server_1 = "incorrect";
}


if((text3.getText()).equals("1234"))
{
server_2 =1;
Server_2 = "correct";
}
else
{
server_2 = 0;
Server_2 = "incorrect";
}
Java
 June 18, 2014 am30 11:27
#194
//I once saw a code that was completely riddled with this pattern
try {
    component.doSomething();
    component.doSomethingElse();
} catch (NullPointerException ex) {
    component = new Component();
    component.doSomething();
}
BASIC
 June 18, 2014 am30 10:43
#149
LBL:
bool a = ! false;
if (a) {
do {
goto LBL;
} while (0);