Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #21669
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | markspace <markspace@nospam.nospam> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: unused statics? |
| Date | Thu, 24 Jan 2013 13:54:38 -0800 |
| Organization | A noiseless patient Spider |
| Lines | 17 |
| 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> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Thu, 24 Jan 2013 21:54:39 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="22578"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/QEqrAw1wI8ZG398V3Du3doyVc+sBq4nk=" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
| In-Reply-To | <oaSdnUTRN-cXOZzMnZ2dnUVZ_sKdnZ2d@earthlink.com> |
| Cancel-Lock | sha1:sSelmmYdsr4O6zb9DQrox//k2cU= |
| Xref | csiph.com comp.lang.java.programmer:21669 |
Show key headers only | 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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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