this code has been floating around on forums and i'm having a hard time understanding it. i'm not even sure if the name is correct, butit compiles just fine:
protected final @SafeVarargs synchronized static strictfp boolean $validJava(boolean φ, Class[]... wheee) throws Throwable
{
do do do do break; while (false); while (false); while (false); while (false);
return φ |= φ &= φ |= !/**/false;
}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
the main part i'm interested in is why the phi symbol (φ) is interpreted in java just fine, it appears to be recognized as a boolean. i could't find any information about this sadly. the only information i could find was wikipedia articles regarding pushdown automotons.
EDIT: I've found out what the phi symbol is, thanks for the link @Sotirios Delimanolis. however, i'm still interested in the logic behind this method and whether or not its just nonsense. i've seen a few questions asking whether or not a system like this works like a turing machine, but I have no clue