Readable Java 1.5
Subject:   Re: Generic Syntax
Date:   2003-09-28 08:59:29
From:   sjungels
Response to: Generic Syntax

Sample conversation:

Q: "How do you represent the properties in your code?"

A: "As String, Integer pairs."

I would argue this sounds natural to most programmers, and it corresponds to the generic syntax I proposed in the article. In general, phrases like "String list" and "String list list" are more readable than "List of String" or "List of list of String," especially for reasonable levels of nesting. Typical Java code uses generic type declarations with at most 3 or 4 levels of nesting.