Xah Lee wrote: > So, a simple code like this in normal languages: > > a = "a string"; > b = "another one"; > c = join(a,b); > print c; > > or in lisp style > > (set a "a string") > (set b "another one") > (set c (join a b)) > (print c) > > becomes in Java: > > public class test { > public static void main(String[] args) { > String a = new String("a string"); > String b = new String("another one"); > StringBuffer c = new StringBuffer(40); > c.append(a); c.append(b); > System.out.println(c.toString()); > } > } >
Only when written by someone almost entirely ignorant of Java. -- http://mail.python.org/mailman/listinfo/python-list