Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Curious compiler warning Date: Thu, 12 Jan 2012 07:42:25 -0800 Organization: albasani.net Lines: 23 Message-ID: References: <1YqdnV__oobHEpPSnZ2dnUVZ7sudnZ2d@giganews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net ZMZxWfvfod1SP/+BhYPdZ1EjrxbKsnlIYMlka9iRgmDzx1LvTXJFUEiqm0FeQSI5jJQRkFVVbrDuUPOb9ZDC5v04fcBSGKq0R4N8VLClTpiwTAwuAIjO1wjHp1IUbdoI NNTP-Posting-Date: Thu, 12 Jan 2012 15:42:21 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="+c+Enfk0RElgQkMYQNIREHboLROV20egrn5uao1HGfreAOiJ+S3JQ8TqLkIbcKX9iYCI9egxobanGHzlWvBAz6GbxrrULbmQx6IWRT+bi4g3rMGN7Rc3M0VDET0vfQHU"; 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: <1YqdnV__oobHEpPSnZ2dnUVZ7sudnZ2d@giganews.com> Cancel-Lock: sha1:fvbCIQMI/baW6dqsOcs4ZitUbvA= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11265 Leif Roar Moldskred wrote: > Lew wrote: > >> Next you'll excoriate += as obscure. Sheesh. > > Personally, I never use += and its brethren and I practically only use > autoincrement and -decrement in for loops. Not because I find them > obscure or hard to read, but because I find the long form either > equally or just slightly easier to read, so why use two different > syntactic constructs when a single one gets the job done just as well? So I suppose you never use for-each, 'while' or 'do...while'? You never use an anonymous class when a named one will do? You won't use closures because SAMs will do, or vice versa? Your little rule that you can only use one form of an expression is limiting and superstitious. It is nice to see my pessimistic prediction so quickly validated. Too many folks with ideas like yours here wind up as managers. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg