Ian Bicking: the old part of his blog

Re: Able to make a mess with anything

Java 5.0:

import java.util.*;

public class Test {
    public static void main(String... args) {
        for (int i = 0; i < 6000; i++) {
            Map<Integer,Integer> map = new HashMap<Integer,Integer>();
            for (int j = 0; j < 1000; j++) {
                map.put(i,j);
                map.get(i);
            }
        }
    }
}

But I'm not sure what you're getting at since this code doesn't actually do anything.

Comment on Able to make a mess with anything
by Brian Slesinsky

Comments:

Perhaps my post disproves my own point to some. I think the only thing I demonstrated was that it requires a lot more characters to write a program in Java that does nothing vs. a script in Python that does nothing. My problem is that I assume the virtue of Python code is self-evident, and it's not, because it's a matter of perspective. I suspect that Perl appears to be insane to most Java programmers, but it doesn't seem all that strange after writing a few things in Ruby.

# Eric Radman