Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #21669

Re: unused statics?

From markspace <markspace@nospam.nospam>
Newsgroups comp.lang.java.programmer
Subject Re: unused statics?
Date 2013-01-24 13:54 -0800
Organization A noiseless patient Spider
Message-ID <kdsaiv$m1i$1@dont-email.me> (permalink)
References <263f14ba-8542-4ec5-9e23-0a91da46e62d@googlegroups.com> <8cfbd2b9-1941-45d1-865b-1a7b5f9c515e@googlegroups.com> <51019d7f$0$291$14726298@news.sunsite.dk> <oaSdnUTRN-cXOZzMnZ2dnUVZ_sKdnZ2d@earthlink.com>

Show all headers | View raw


On 1/24/2013 1:15 PM, Patricia Shanahan wrote:
> On 1/24/2013 12:45 PM, Arne Vajhøj wrote:
>> On 1/24/2013 3:31 PM, Lew wrote:
>>> Why was it assigned its default value redundantly?
>>
>> Sometimes it improves readability.
>
> I often do that as a note to myself. It means I do expect to use the
> initial value, have considered what the initial value should be, and
> have chosen 0.


Assignment is also required if the field is final, even if you intend to 
use the default value.


Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

unused statics? bob smith <bob@coolfone.comze.com> - 2013-01-24 12:23 -0800
  Re: unused statics? Lew <lewbloch@gmail.com> - 2013-01-24 12:31 -0800
    Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-01-24 15:45 -0500
      Re: unused statics? Patricia Shanahan <pats@acm.org> - 2013-01-24 13:15 -0800
        Re: unused statics? markspace <markspace@nospam.nospam> - 2013-01-24 13:54 -0800
        Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-01-24 18:07 -0500
          Re: unused statics? Lew <lewbloch@gmail.com> - 2013-01-24 17:16 -0800
            Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-01-24 20:31 -0500
              Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-01-24 20:35 -0500
            Re: unused statics? Patricia Shanahan <pats@acm.org> - 2013-01-24 17:38 -0800
            Re: unused statics? Magnus Warker <magnus@mailinator.com> - 2013-01-25 05:29 +0100
            Re: unused statics? lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-01-25 08:42 +0000
          Re: unused statics? Gene Wirchenko <genew@telus.net> - 2013-01-25 09:36 -0800
            Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-02-24 17:55 -0500
  Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-01-24 15:43 -0500
  Re: unused statics? Roedy Green <see_website@mindprod.com.invalid> - 2013-01-26 02:53 -0800
    Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-01-26 16:37 -0500

csiph-web