Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Curious compiler warning Date: Wed, 11 Jan 2012 23:32:28 -0800 Organization: albasani.net Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net OO5f5TGMVUl+8yowyMQAz+QFocZSH/fWIeLXIJ8WwFaUqmfN3isenhws1FY2tFreOC8KiS7YsqKmOum2VIqIaRMD928UOIagTDndFC//Fx0AyE5v8twCHaadqz94Dv4l NNTP-Posting-Date: Thu, 12 Jan 2012 07:32:28 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="M2DDL0a5LVAThKjDNDI4TBdM1cHo1HL0K84/wI8QHWHHJjB1osLNuVlRTzIi/RYsSH1MHwfjLNfCUTN/Ti5NK0cDhyadsw5xxZyMnscSyapp6t7rdm/buQQfVTn7/TdT"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111109 Thunderbird/3.1.16 In-Reply-To: Cancel-Lock: sha1:FWLrxLElOe08LfaPnO7ZNQaXz9E= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11261 On 01/11/2012 06:10 PM, Gene Wirchenko wrote: > On Wed, 11 Jan 2012 06:58:10 -0800, Lew wrote: > > [snip] > >> If you have a hard time understanding that expression and you call yourself a >> Java programmer, there's a disconnect. > > If I can not see what the expression means almost instantly, then > it is a candidate for simplification. > > I am not a fan of macho programming. > > Sometimes, we are tired. Sometimes, we are in a hurry. > Sometimes, we are not so familiar with the code. Why ask for trouble? > Do it obviously except when an exception to this is clearly warranted. While I agreed with Patricia's point, your points are sheer hyperbole. We're talking about autoincrement and autodecrement, for Pete's sake! Next you'll excoriate += as obscure. Sheesh. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg