KBD

Keith Devens .com

Sunday, September 7, 2008 Flag waving
A Lisp programmer knows the value of everything, but the cost of nothing. – Alan Perlis

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 →
September 2008
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
282930 



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

Recent comments XML

new⇒Trogdor tattoo!!

Oh, so cute, wowoowow....

Kathy Mead: Sep 7, 6:07am

new⇒I hate Norton Antivirus

Long long live AVG I love you!...

kevin sands: Sep 6, 7:31pm

I hate ASP.NET

CF, why pick that piece of trash?​Cold Confusion. Is it finally​really a OO...

ColdConfusion: Sep 5, 8:36pm

Maps of Iraq

This is for Linda, I will be​visiting that site some time in the​near futur...

Bob: Sep 5, 1:20pm

Girls, please don't get breast implants

Well alright I just read my above​comment and I wanted to add​this...I shou...

76.66.140.8: Sep 4, 7:31pm

Spider solitaire

I don't think the question was​necessarily if there are unbeatable​games.  ...

Jared: Sep 4, 12:44pm

Convert Pantone Colors to RGB and Hex - Color Conversion Chart

The colors on those website don't​seem to relate to the pantone data​we hav...

blah: Sep 3, 10:12am

Generated in about 0.053s.

(Used 7 db queries)

mobile phone