Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #16073
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.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 | Tue, 17 Jul 2012 13:02:06 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 88 |
| Message-ID | <bba9c622-4f2a-476a-a433-2ad16f595f4f@googlegroups.com> (permalink) |
| References | <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> <db917672-7676-4739-aedb-686023ec365a@googlegroups.com> <comsv79pj7fvi50kaq9rdbvgkdl7q4dkjk@4ax.com> <dd343609-d16a-40ea-b2d0-eea9e34c638f@googlegroups.com> <eqh008l7d647crjgemm58fn3dpae9vtv34@4ax.com> <b299251e-3ecc-4c33-a3a2-95ed410229c9@googlegroups.com> <hKudnboeSo57lJjNnZ2dnUVZ_sSdnZ2d@earthlink.com> |
| NNTP-Posting-Host | 69.28.149.29 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Trace | posting.google.com 1342555679 24793 127.0.0.1 (17 Jul 2012 20:07:59 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Tue, 17 Jul 2012 20:07:59 +0000 (UTC) |
| In-Reply-To | <hKudnboeSo57lJjNnZ2dnUVZ_sSdnZ2d@earthlink.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 |
| X-Received-Bytes | 6026 |
| Xref | csiph.com comp.lang.java.programmer:16073 |
Show key headers only | View raw
Patricia Shanahan wrote:
> Lew wrote:
> ...
> > - I claimed that the JLS is an essential tool to learning Java,
> > along with recommending other useful sources. No one
> > has even said that it isn't, much less established that it isn't.
>
> This seems to assume that there is one thing that can be called
> "learning Java".
>
> I don't think of knowing a programming language as a binary property,
> but in terms of a continuous range of levels of knowledge.
>
> One end of the range is "never even heard of it". At the other end of
> the range is the sort of knowledge that James Gosling has for Java, or
> Bjarne Stroustrup for C++.
>
> The highest level of language knowledge I've ever achieved for any
> language is that needed to produce a working implementation on a real
> computer, which I've only done for K&R C and Fortran 77. That requires
> familiarity with the language's defining documents as well as full,
> detailed understanding of how it really works. I don't have quite that
> level of knowledge for Java.
>
> What does "learning Java" mean in the context of a beginner? I suggest
> that a reasonable default is "know the language well enough to write
> professional quality code in it".
>
> Putting it in the context of this thread, I would say it includes
> knowing that "int[] productIDs = {10,20,30};" is normal code to declare
> an array reference and initialize it. I am not sure it includes knowing
> which weird arrangements of "[]" placement are permitted for
> multi-dimensional arrays.
>
> I contend that reading the JLS is not necessary for that level of
> knowledge of Java. Reading good secondary sources is likely to be more
> effective.
>
> > - I claimed that actively discouraging newbies (or anyone
> > else) from studying the JLS is a disservice to their learning
> > and professional progress. No one has addressed this point.
> >
>
> I strongly disagree. I was already a very experienced programmer in
> several languages, and had studied the defining documents for some of
> them, when Java was developed, but I can imagine facing
> learning Java as a beginning programmer. If, as a beginner, I had
> thought that understanding something like JLS section 17.4,
> http://docs.oracle.com/javase/specs/jls/se7/html/jls-17.html#jls-17.4,
> were necessary to learn Java, I would have abandoned the attempt in
> favor of some language that could be learned using only simpler, more
> readable, materials.
I disagree partially with your points, but they are cogent and well supported.
I don't believe a beginner should rely on the JLS to learn the language, as I
have stated many times. I do agree that the JLS can be rather daunting, at first,
and like any other specification is in some places just a bit thick, but as specs
go it really is comparatively clear, and parts are as baldly and simply stated as
anyone could wish.
The problem is that without an awareness of the JLS, one can be misled by
inaccurate or incomplete information from secondary and tertiary sources.
Many of the discussions are prime examples, and the ones where one reference
specific JLS passages, they tend to unequivocally settle issues of Java fact.
To actively discourage newbies from studying the JLS is to limit them. This
is different from simply not recommending the JLS as a beginner's tool.
Even new Java programmers at a minimum need to know that the JLS
exists, and that it is the authority, and that should they really, really wish
final resolution to certain questions, it is found there. They should have
it as a goal to be able to use it.
I started using the JLS very early in my Java career, and it has never
given me cause to regret that choice.
I also assert that it isn't anywhere near as impossible as all the fear-
mongers claim, except in some few parts. Regardless, I respect your
conclusions, even the ones with which I disagree.
Bottom line, I go with something like glen herrmannsfeldt's idea, that
for each Java programmer there comes a time when it makes sense
to use the JLS. The earlier one knows that the JLS option exists, the
more power one has to exercise choice over gaining that next,
minimum level of Java programming capability.
--
Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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