What are OOP's Jargons and Complexities

Lew lew at nospam.lewscanon.com
Fri Mar 30 09:07:05 EDT 2007


Xah Lee wrote:
>> 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());
>>     }
>> }
> 
> Er. How about
> 
> public class test {
>   public static void main(String[] args) {
>     String a = "a string";
>     String b = "another one";
>     StringBuffer c = a + b;
>     System.out.println(c);
>     }
> }

bugbear wrote:
> Alternatively I could recode your Lisp example
> as badly as you coded your Java.

 From what I've seen and heard of Xah Lee, you'd probably lose the bad-coding 
competition to him. He's a professional.

-- Lew



More information about the Python-list mailing list