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


Groups > comp.lang.java.programmer > #38293 > unrolled thread

Re: A minor observation about classes

Started byDaniele Futtorovic <da.futt.news@laposte-dot-net.invalid>
First post2018-05-30 10:05 +0200
Last post2018-06-18 18:30 +0200
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.programmer

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: A minor observation about classes Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-05-30 10:05 +0200
    Re: A minor observation about classes Robert Klemme <shortcutter@googlemail.com> - 2018-06-18 18:30 +0200

#38293 — Re: A minor observation about classes

FromDaniele Futtorovic <da.futt.news@laposte-dot-net.invalid>
Date2018-05-30 10:05 +0200
SubjectRe: A minor observation about classes
Message-ID<pelm22$vog$1@dont-email.me>
On 2018-05-22 12:47, Stefan Ram wrote:
>   (I have not checked my memory again now, but I hope
>   that what I remember about the JLS is correct.)
> 
>   In a class (no pun intended!) I was asked
>   "What /is/ a class?", and I confidently answered:
>   "Look, whenever you have such a question, you just
>   flip the 'Java Language Specification' open at the
>   index and you just search for the letter your word
>   begins with, so 'class' begins with 'C', so just,
>   wait, er, ... just a second! ...".
> 
>   Next attempt: To search in the full-text of the
>   JLS for "A class is ...", to no avail. 
> 
>   It seems, the JLS does not offer a direct, plain
>   definition of "class".
> 
>   It does however, define "class declaration", 
>   which also /does/ have an index entry.
> 
>   Pierre Reverdy and/or Jean Cocteau said:
>   « Il n'y a pas d'amour, il n'y a que des preuves d'amour. ».
> 
>   So, we might be tempted to say:
>   "There are no classes, just class declarations.".
> 
>   (However, I /could/ give you a definition of the Java term
>   "class": It is my own definition. I, however, do not have
>   the authority of the JLS.)

Perhaps because "class" is not a Java term, but an OOP term, and it
would be presumptuous, as well as an entanglement, for the JLS to
attempt to define it? In the same sense as when you buy a Mercedes (if
that happens to be your thing), the car's handbook won't try to define
what an automobile is, but rather what a Mercedes is?

But seriously, I don't understand why you even would want to buy a Mercedes.

-- 
DF.

[toc] | [next] | [standalone]


#38387

FromRobert Klemme <shortcutter@googlemail.com>
Date2018-06-18 18:30 +0200
Message-ID<foq51nF5lerU1@mid.individual.net>
In reply to#38293
On 30.05.2018 10:05, Daniele Futtorovic wrote:
> On 2018-05-22 12:47, Stefan Ram wrote:

>>    So, we might be tempted to say:
>>    "There are no classes, just class declarations.".

... and no spoon either.

> But seriously, I don't understand why you even would want to buy a Mercedes.

I'd guess he is more into these: https://www.ramtrucks.com/

Cheers

	robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web