>>5
I'll admit I tried, but I couldn't obfuscate the counting very well. I did manage to create a program that can try but only has a small chance of ever counting to 10 eventually; but, that's not what was asked.
Name:
Anonymous2010-06-20 21:24
public class ProgChallenge {
public static void main(String[] args) {
for (int i=11; i < 21; i++) {
System.out.println(i % 10);
}
}
}
>>5
I know Java better than I care to admit, and that's exactly why I never want to write any ever again.
Name:
meh2010-06-20 21:46
public class sdfsdsdf
{
public Integer egypt(){ return new Integer(1); }
public int allllYourBase(){return 0;}
public int allllYourBase(int s){return 9+s;}
public static void main(String[] args)
{
Integer five;
for(five = Integer.valueOf(new sdfsdsdf().allllYourBase());
five.value() < Integer.valueOf(new sdfsdsdf().allllYourBase(1)).value();
five = Integer.valueOf(five + new sdfsdsdf().egypt()))
{
System.out.println(five);
}
}
}
Actually, Java is the most easily obfuscate-able language due in large part to the excellent reflection support. The fact that nobody has entered this challenge is evidence only of the fact that it is neither fun nor challenging.