And who can forget the abuse of =, +=, ++/--, ... etc?
public static void main(String[] args)
{
int a = 1, b = 2, c = 3;
c += b = a++;
System.out.println(a + " " + b + " " + c);
}
Type: Posts; User: helloworld922
And who can forget the abuse of =, +=, ++/--, ... etc?
public static void main(String[] args)
{
int a = 1, b = 2, c = 3;
c += b = a++;
System.out.println(a + " " + b + " " + c);
}
Not necessarily weird syntax, but an abuse of Java's arrays to get pass-by-reference(ish) for primitives:
public class PrimitivesAbuse
{
public static int factorial(int n, boolean[] success)...
I remember Json posting some funny allowable names for classes/fields/methods.
http://www.javaprogrammingforums.com/java-code-snippets-tutorials/874-general-cs-concepts-post4807.html#post4807
...