jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Müller <thomas.muel...@day.com>
Subject Re: Generics generator class
Date Fri, 08 May 2009 08:41:10 GMT
Hi,

> Does this even *remotely* compare to hitting a disk or a
> JDBC connection?

No. The only case where it _could_ play a role is running Jackrabbit
fully in-memory.

> when you type "new ArrayList<String>()" in any decent IDE

For me this is about reading. Not writing.

> If you type "List<String> myList = "

Not that it would matter, but I also need to type " new " +
[Ctrl+Space] (I use Eclipse). So "New." is the exact same number of
keystrokes.

> New.hashMap() is less readable ... looks weird.

I agree. Maps.newHashMap() may be better.

Anyway, let's use the verbose style for now.

Regards,
Thomas

Mime
View raw message