Jeremy Rayner on java and other stuff.

All | AudioDrama | Chatter | Fun | Groovy | Java | Life

inconsistent gripe
Posted on 26 Aug 2003
Just a bit of bile about inconsistent API's:

Object[] o = new Object[] {"foo"};
String s = "bar";
List l = new ArrayList();

System.out.println("Array length :" + o.length);
System.out.println("String length :" + s.length());
System.out.println("List length :" + l.size());

grrrr, as if I don't have enough things to remember at my age...

26 Aug 2003 |

 

 
August 2003
SunMonTueWedThuFriSat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Prev | Today | Next

rss:subscribe (All)



What I'm reading
my feed aggregator ->box

My websites
London Java Meetups
Programming Projects
Elite in Java
megg
Blogmento
Jez's Photos
Fantasy Stock Market
Cool Saxophonist
Doctor Who Audios
Pisces Audios

Other Blogs
Mike Cannon-Brookes
James Strachan
Joe Walnes
Sam Dalton
Simon Brown
Cameron Purdy
Mike Roberts
Erik C. Thauvin
John Martin
Manfred Riem

B5 d++ t++ k s+ u- f
i+ o+ x-- e+ l- c--

powered by blogmento