Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.lightlink.com!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.programmer Subject: Re: exporting a HashMap Date: Mon, 16 Jan 2012 10:55:01 -0800 Organization: Canadian Mind Products Lines: 17 Message-ID: References: <4f130c08$0$292$14726298@news.sunsite.dk> Reply-To: Roedy Green NNTP-Posting-Host: Z2l1DcCELS0rATq8NqV4Sw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 6.00/32.1186 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11384 On Sun, 15 Jan 2012 10:22:08 -0800, Lew wrote, quoted or indirectly quoted someone who said : >And anyway, generics and arrays do mix, just not well. To say merely that they >don't mix, without the qualifier "well", isinaccurate and misleading, and >certainly no help to newbies. Better would be to explain the limits, why they >exist, and what the alternatives are. If you were charged with writing a paragraph or to for newbies to explain the impedance mismatch of arrays and generics what would you say? -- Roedy Green Canadian Mind Products http://mindprod.com One of the most useful comments you can put in a program is "If you change this, remember to change ?XXX? too".