Neil's News

Polyglot 2: Java

21 August 2004

[Java] Second is Java. Definitely a B&D language[?]. At the end one gets a warm feeling that your program is correct. But getting to that stage is like pulling teeth. The red-tape one has to jump through to add two numbers together is ridiculous, most of the time spent programming in Java is devoted to converting ints to Integers and back again in an attempt to appease the compiler. There's impeccable logic to Java, but it isn't pleasant to work with. Still, the result is a high-quality applet that runs everywhere.

Here's the Java source code and a running implementation.

< Previous | Next >

 
-------------------------------------
Legal yada yada: My views do not necessarily represent those of my employer or my goldfish.