java.lang.String has both substring and subSequence. There seem to be inconsistencies everywhere.
I vote for subArray, since I would define a classname as being a proper noun.
Stephen Colebourne wrote:
I changed this based on subList() in the collections API. substring() is an alternative precedent, so I am open to opinions.
Stephen
----- Original Message ----- From: "Ash .." <[EMAIL PROTECTED]>
Thanks for integrating the subarray implementation patch.
However, I am curious to know why Stephen chose to name the method "subArray", in place of "subarray". In the English language, the prefix "sub" in this sense is joined to the word with the resultant word being a single "token": subunit, subclass, suburbs, subway... substring, subarray, whereby, as per standard Java conventions, the name ought to be "subarray" rather than "subArray". Even names in Standard API reflect this: substring, etc.
thanks, Ashwin
_________________________________________________________________ Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
