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


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

Re: Arrays in java

From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Arrays in java
Date 2012-07-11 16:21 -0700
Organization http://groups.google.com
Message-ID <80b9a66d-0b65-435b-adbb-3e61c83c6a54@googlegroups.com> (permalink)
References (1 earlier) <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>

Show all headers | View raw


Roedy Green wrote:
> Lew wrote, quoted or indirectly quoted someone who said :
> &gt;Know. Don&#39;t guess. Read the JLS.
> 
> And I have explained to you many times that not everyone can make hide
> nor tail of that lawyerly document. YOU can, but perhaps only one in
> 100 programmers can accurately decode it.  It is plain rude to demand
> newbies use it.  Encourage them yes, but don&#39;t pretend it as a skill

It is plain stupid and evil of you to recommend that newbies not use it.

It is the seminal authoritative document that defines Java.

Your rabid insistence that people ignore it is a huge disservice to those 
learning the language.

> everyone is suppose to master to justify their existence. You are
> using it like some frat hazing.

Which is the better advice in computer programming, to study toward 
an understanding in depth the core definition of the language, or 
to avoid studying the definition of the language?

What is your problem that gets you foaming at the mouth for the 
mere suggestion that the JLS is the core and pinnacle of knowledge 
about the definition of the language? Your attitude is as inexplicable 
as it is hostile and damaging to those seeking better knowledge. 

> I further hazard a guess your own ability to decode is somewhat higher
> than it is in reality. You just assert your interpretation is the
> correct one.  Any time I read that fool think I can come up with 4

Show me where I'm wrong. I'm open to learning new things.

Are you?

Why are you so adamant that others recapitulate your shortcomings?

> possible interpretations. . The fault it is the document.  It was not
> written for average programmers but to settle lawyerly disputes over
> compiler compliance.  That is why they are so many text books to
> explain these things in English to programmers.

What exactly do you find unclear about 

“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: 

“    float[][] f[][], g[][][], h[];  // Yechh! 

“We do not recommend "mixed notation" in an array variable declaration, where brackets appear on both the type and in declarators.” 

<http://docs.oracle.com/javase/specs/jls/se7/html/jls-10.html#jls-10.2> 

I would be glad to help you with it.

-- 
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