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


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

Re: Arrays in java

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Arrays in java
Date Wed, 11 Jul 2012 17:20:37 -0700 (PDT)
Organization http://groups.google.com
Lines 61
Message-ID <db917672-7676-4739-aedb-686023ec365a@googlegroups.com> (permalink)
References <7eb3b37e-612a-4f51-98e5-f39cfd565739@googlegroups.com> <jtetf3$80q$1@dont-email.me> <cpednYtiE_GHyGbSnZ2dnUVZ_uidnZ2d@earthlink.com> <uLIKr.3063$Kb4.1161@newsfe20.iad> <2323c0cd-d843-460b-b39d-d14be0928eff@googlegroups.com> <5bvrv7l6m37aha6n3ri5giatrarpeb6boe@4ax.com> <80b9a66d-0b65-435b-adbb-3e61c83c6a54@googlegroups.com> <l05sv711f1k182u0qcmn8b66j8t3siie71@4ax.com>
NNTP-Posting-Host 69.28.149.29
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Trace posting.google.com 1342052534 30381 127.0.0.1 (12 Jul 2012 00:22:14 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Thu, 12 Jul 2012 00:22:14 +0000 (UTC)
In-Reply-To <l05sv711f1k182u0qcmn8b66j8t3siie71@4ax.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T
User-Agent G2/1.0
Xref csiph.com comp.lang.java.programmer:15967

Show key headers only | View raw


Gene Wirchenko wrote:
> Lew wrote:
> &gt;What exactly do you find unclear about 
> &gt;
> &gt;“Brackets are allowed in declarators as a nod to the tradition of C and C++. The general rules for variable declaration, however, permit brackets to appear on both the type and in declarators, so that the local variable declaration: 
> &gt;
> &gt;“    float[][] f[][], g[][][], h[];  // Yechh! 
> &gt;
> &gt;“We do not recommend &quot;mixed notation&quot; in an array variable declaration, where brackets appear on both the type and in declarators.” 
> &gt;
> &gt;&lt;http://docs.oracle.com/javase/specs/jls/se7/html/jls-10.html#jls-10.2&gt; 
> &gt;
> &gt;I would be glad to help you with it.
> 
>      That an individual example is clear does not prove that the whole
> is clear.  Even if all examples are clear, it does not mean that the
> whole coheres.

It is the individual example that sparked Roedy's diatribe. Ergo 
I concluded it must have posed him some difficulties for him to 
gripe about it.

Regardless, Roedy has expressed difficulty with the JLS and I am 
happy to help him wherever that difficulty lies.

I am astounded that you join him in apologetics for ignorance.

Programming is a game of knowledge and mastery. If you deliberately 
exclude the normative documentation for the platform you use, 
you are hurting yourself. If you recommend that others do so as well, 
you are hurting them.

I extend you the same offer I did to Roedy, Gene. I'd be glad to help 
you with anything in the JLS you find obscure.

What really puzzles me is Roedy's apparent anger at me for recommending 
the JLS. What the F? Spend the freaking time reading and understanding it, 
reaching for auxiliary sources (such as those by the JLS's own authors) for 
the parts that puzzle you. Study it. I've been studying the various 
incarnations for over a decade. There's no magic, despite how hard Roedy 
tries to enmystify the process. It's just determination and diligence, and 
I dare say a modicum of raw talent for programming that many who 
frequent this forum can lay claim to.

Don't be an advocate for laziness and ignorance.

Know. Don't guess. Read the JLS.

Excoriate anyone who tries to discourage you from doing so.

-- 
Lew

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


Thread

Arrays in java "mmc.java" <michael.p.mulligan@gmail.com> - 2012-07-09 07:54 -0700
  Re: Arrays in java Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-07-09 11:30 -0400
    Re: Arrays in java Patricia Shanahan <pats@acm.org> - 2012-07-09 15:03 -0700
      Re: Arrays in java Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-07-09 15:16 -0700
        Re: Arrays in java Lew <lewbloch@gmail.com> - 2012-07-09 16:14 -0700
          Re: Arrays in java Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-07-09 21:43 -0700
            Re: Arrays in java Lew <noone@lewscanon.com> - 2012-07-09 23:47 -0700
          Re: Arrays in java Roedy Green <see_website@mindprod.com.invalid> - 2012-07-11 15:32 -0700
            Re: Arrays in java Lew <lewbloch@gmail.com> - 2012-07-11 16:21 -0700
              Re: Arrays in java Gene Wirchenko <genew@ocis.net> - 2012-07-11 17:08 -0700
                Re: Arrays in java Lew <lewbloch@gmail.com> - 2012-07-11 17:20 -0700
                Re: Arrays in java Gene Wirchenko <genew@ocis.net> - 2012-07-11 22:09 -0700
                Re: Arrays in java Lew <lewbloch@gmail.com> - 2012-07-12 11:31 -0700
                Re: Arrays in java Gene Wirchenko <genew@ocis.net> - 2012-07-13 09:07 -0700
                Re: Arrays in java Lew <lewbloch@gmail.com> - 2012-07-13 13:00 -0700
                Re: Arrays in java Patricia Shanahan <pats@acm.org> - 2012-07-15 00:54 -0500
                Re: Arrays in java Jeff Higgins <jeff@invalid.invalid> - 2012-07-16 15:59 -0400
                Re: Arrays in java Patricia Shanahan <pats@acm.org> - 2012-07-16 23:44 -0700
                Re: Arrays in java glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-07-17 08:01 +0000
                Re: Arrays in java Patricia Shanahan <pats@acm.org> - 2012-07-17 03:04 -0700
                Re: Arrays in java Lew <lewbloch@gmail.com> - 2012-07-17 13:02 -0700
                Re: Arrays in java Patricia Shanahan <pats@acm.org> - 2012-07-17 22:03 -0700
                Re: Arrays in java Lew <noone@lewscanon.com> - 2012-07-17 22:10 -0700
                Re: Arrays in java glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-07-18 05:12 +0000
                Re: Arrays in java Patricia Shanahan <pats@acm.org> - 2012-07-17 22:39 -0700
                Re: Arrays in java Martin Gregorie <martin@address-in-sig.invalid> - 2012-07-18 21:24 +0000
                Re: teaching Java and formal grammars Patricia Shanahan <pats@acm.org> - 2012-07-19 06:48 -0700
                Re: teaching Java and formal grammars Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-07-19 10:27 -0400
                Re: teaching Java and formal grammars Gene Wirchenko <genew@ocis.net> - 2012-07-19 10:55 -0700
                Re: Arrays in java Patricia Shanahan <pats@acm.org> - 2012-07-13 08:28 -0500
            Re: Arrays in java Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-07-11 18:33 -0700
  Re: Arrays in java markspace <-@.> - 2012-07-09 09:17 -0700
    Re: Arrays in java Lew <lewbloch@gmail.com> - 2012-07-09 12:56 -0700
  Re: Arrays in java Joshua Cranmer <Pidgeot18@verizon.invalid> - 2012-07-09 12:45 -0400
  Re: Arrays in java Roedy Green <see_website@mindprod.com.invalid> - 2012-07-09 11:03 -0700
  Re: Arrays in java Arun GOPI <arun041@gmail.com> - 2012-07-16 02:53 -0700

csiph-web