Neil's News

+ 2010
+ 2009
+ 2008
+ 2007
+ 2006
+ 2005
- 2004
 Silence
 Snowflakes
 Paranoia Pays
 Microsoft Help
 Polyglot 11: More C
 Polyglot 11: C
 Polyglot 10: Smalltalk
 Toronto Wisdom
 Exterminated
 The Last Straw
 BT Broadband Trap
 Polyglot 9: Moo
 Polyglot 8: SVG
 Polyglot 7: POV-Ray
 Polyglot 6: Python
 Polyglot 5: PHP
 Polyglot 4: Euphoria
 Polyglot 3: JavaScript
 Polyglot 2: Java
 Polyglot 1: VB
 POV-Ray
 Etch A Sketch
 Slashdotting
 Flashy Lies
 Scientific Illiteracy
 Creeping Featurism
 VidScope
 Saturn V
 Perspectives
 Slide Rule
 eBay Sale
 Iron Filings
 Gimble
 VBA Security
 Random Morsels
 Exact Change
 Easter Egg
 Diametral Pitch
 mod_deflete
 Ethical Spam?
 Deadlines
 CPU Power
 Fosdem 2004
 Academic Reversal
 Mars Memorial
 Culture Clash
 Watching the Users
+ 2003
+ 2002

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 >

 
-------------------------------------