Path: csiph.com!usenet.pasdenom.info!goblin3!goblin.stu.neva.ru!news.netfront.net!not-for-mail From: Wanja Gayk Newsgroups: comp.lang.java.programmer Subject: Re: Java blunders Date: Fri, 25 Jul 2014 01:34:19 +0200 Organization: Netfront http://www.netfront.net/ Lines: 23 Message-ID: References: <53cef75d$0$291$14726298@news.sunsite.dk> NNTP-Posting-Host: 77.176.24.220 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit X-Trace: adenine.netfront.net 1406244930 18941 77.176.24.220 (24 Jul 2014 23:35:30 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Thu, 24 Jul 2014 23:35:30 +0000 (UTC) User-Agent: MicroPlanet-Gravity/3.0.4 Xref: csiph.com comp.lang.java.programmer:29283 In article <53cef75d$0$291$14726298@news.sunsite.dk>, Arne Vajhøj (arne@vajhoej.dk) says... > You are really asking for the ability to use var/val and let the compiler > determine the type via type interference. Who ever came up with "val" and "var" in Scala and similar languages shouldbe hit with a stick every time someone misreads or mistypes one for the other. Why the hell wasn't it possible to name them "var" and "const", so they look very different because they behave very different? Kind regards, Wanja -- ..Alesi's problem was that the back of the car was jumping up and down dangerously - and I can assure you from having been teammate to Jean Alesi and knowing what kind of cars that he can pull up with, when Jean Alesi says that a car is dangerous - it is. [Jonathan Palmer] --- news://freenews.netfront.net/ - complaints: news@netfront.net ---