Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Steven Simpson Newsgroups: comp.lang.java.programmer Subject: Re: hashtables syntax Date: Mon, 16 May 2016 22:35:38 +0100 Organization: A noiseless patient Spider Lines: 18 Message-ID: References: <338d0b8c-9a5e-ccc0-9a5c-792c870f84bf@mrbrklyn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: mx02.eternal-september.org; posting-host="17104d5a435f3689bf77964a98a7675d"; logging-data="17166"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Vo1QP4lzkiP1E8uoIWQeg2R6r4bX3YO8=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 In-Reply-To: Cancel-Lock: sha1:btxwVCvja4l2OczSQRAv2GnwN5A= Xref: csiph.com comp.lang.java.programmer:34309 On 16/05/16 19:23, Stefan Ram wrote: > Steven Simpson writes: >>>> HashMap<> function = new HashMap > .. >> It would arguably be inappropriate to put the type information 'on the >> right' in the the OP's case, where the declaration of the reference is >> separate from its assignment. > There are examples outside of the scope of generics where > the more-detailed information about the type is on the left > and examples where it is on the right. Sure. I was not suggesting anything beyond the case of choosing whether to permit <> on the left or on the right. -- ss at comp dot lancs dot ac dot uk