KBD

Keith Devens .com

Saturday, March 20, 2010 Flag waving
Code is poetry. – wordpress.org

Archive: April 26, 2004

← April 25, 2004April 27, 2004 →

Daily link icon Monday, April 26, 2004

Why Python is better than Java

Python is better than Java because I've never had a problem with getting classpaths correct in Python. Java's been out for so many years, and I've been using it on and off for years, but I still have problems getting the classpath right.

The Java compiler (actually, the RMI stub (etc.) generator) can't find classes that are part of the base install! It's infuriating.

It's like what Bruce Eckel says about reading files in Java vs. Python. What it comes down to is not just that Java places too high a cognitive load on the programmer... it's that Java's just a pain in the ass. I've had more trouble with Java's class/package management than I've ever had in any other language (and I'd be interested to know if there's any non-joke language out there that takes more lines of code to read from a file than Java does).

Update: Jeremy concurs

Update: One more thing. What was most frustrating about this classpath problem is that the Java compiler was able to find all necessary classes just fine, but 'rmic' couldn't do the same thing.

Also, more discussion at Simon Brunning's site. It seems it may even be simpler to read files using RPG than it is with Java!

← April 25, 2004April 27, 2004 →
March 2010
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 2 posts

Recent comments XML

I hate ASP.NET

I hate ASP... I was doing wonders​with PHP, then suddenly one of my​clients...

Johnies: Mar 17, 6:14am

Quantum physics and free will

I knew you were going to say that....

Tom Massey: Mar 15, 9:26pm

Generated in about 0.07s.

(Used 7 db queries)