Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #23852
| From | Sven Köhler <remove-sven.koehler@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: lectures about "programming methodology" |
| Date | 2013-05-06 17:24 +0300 |
| Message-ID | <aupsouF5gm4U1@mid.dfncis.de> (permalink) |
| References | <classroom-20130505192642@ram.dialup.fu-berlin.de> <lecture-20130506142026@ram.dialup.fu-berlin.de> <aupr3nF54nkU1@mid.dfncis.de> <char-20130506161600@ram.dialup.fu-berlin.de> |
On 05/06/2013 05:18 PM, Stefan Ram wrote: > Sven Köhler <remove-sven.koehler@gmail.com> writes: >> To be honest, the notion "anonymous vairable" is really not necessary to >> understand how arrays work - and to be honest, your posting is the first >> time I read that term. > > The JLS, while being technical, actually sometimes is quite > easy to read: Subtext? > One can open the table of contents, spot chapter »10. Arrays«, > and immediately read near the very beginning of that chapter: > > »An array object contains a number of variables.« (JLS7 10) > > »The variables contained in an array have no names« (JLS7 10) | > > The expression »new int[ 3 ]« has as its value an array of three | > variables, but neither this object nor those variables have > a name. So apparently I haven't read that part of the JLS. And neither has the lecturer. And this might me the shock: most people and most lecturers haven't read the JLS. At least to my experience. >> I know that you are particular precise about thing, but I'm pretty sure, >> he will teach that arrays have elements. > > »These variables are called the components of the array.« (JLS7 10) Well ... So what did the lecturer call them? Regards, SVen
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: lectures about "programming methodology" Sven Köhler <remove-sven.koehler@gmail.com> - 2013-05-06 16:56 +0300 Re: lectures about "programming methodology" Sven Köhler <remove-sven.koehler@gmail.com> - 2013-05-06 17:24 +0300 Re: lectures about "programming methodology" David Lamb <dalamb@cs.queensu.ca> - 2013-05-07 18:01 -0400
csiph-web