Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia



Paka Small wrote:
Hi Daniel,

Please do not top-post. Post inline.

Clearly a method is also a class which has method instances:
http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html

That is not correct. A method is not a class. The class 'Method' is a class,
but it is not a method.

. I suggest you get updated with OO programming and Java. Its [sic] called

I suggest you be less snarky, especially when you are wrong.

Java reflection. I find it strange that in a JAVA [sic] programming group

I find it strange that you cop such a strong attitude when you're wrong, and
cannot even spell "Java" correctly.

you put out with such vigour your statement ("Those aren't instances,
they are called methods.") that is totally incorrect. My statement (a

No, he was totally correct.

method is also a class which has method instances) is proven by the
Oracle Java link above and backed up with 20 years of professional

No, it is not. A method is not a class. The 'Method' class is a class, but it
is not a method.

software development experience. What are the references for your
statement?

http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html

Your "20 years of professional software development experience" has, sadly,
left you with much arrogance and zero knowledge.

In Java, as you will see from reading the Java Language Specification linked
above, which is the normative reference for the language definition, methods
and classes are not the same.

The above being said it is totally a good idea and in line with Java
itself (or any other OO programming language) to classify in the OO
Tumia framework a particular Java method like
java.lang.Object.getClass() as an instance of the Tumia class "Java
Method". Another Tumia Class could be for example "Dotnet Method". Do
you GRASP it?

What is a "Tumia Class [sic]"? I don't see anything good about the idea you
propose.

On 25 jan, 20:23, Daniel Pitts <newsgroup.nos...@xxxxxxxxxxxxxxxxxxx>
wrote:
On 1/25/12 6:58 AM, Paka Small wrote:
You are kindly invited to check out the Instance
java.lang.Object.getClass() of Class Java Method on the object
oriented directoryTumia:
[redacted]
- Click some java.lang.Object.getClass() links or in the upper
toolbar:
- click the "-->"-button for the following java.lang.Object.getClass()
links or
- use theTumiaInstance combobox to select another Instance or
- use theTumiaClass combobox to select another Class or
- use the Relat. Instan. combobox to select a Related Instance.

What kind of spamming is this?  Those aren't instances, they are called
methods. This website seems to be fairly useless and somewhat dangerous..

+1, Daniel

--
Lew
.



Relevant Pages

  • Re: Comparing Lisp conditions to Java Exceptions
    ... All the ISO standards in the world will not make the world ... Nothing keeps you from annotating your program with exceptions based on what ... language should adhere to your theory. ... Curiously, although you don't say it, Java has the opposite problem. ...
    (comp.lang.lisp)
  • Re: casts
    ... This is why most shit programmers refuse to learn languages including ... C Sharp and Java. ... compiler in a later edition of Visual Basic, ... language for processing data. ...
    (comp.lang.c)
  • Re: C, really portable?
    ... > Wait, is Java a modern language superior to C, or is it still ... It is a much better OO language than C++, ... It depends what you are doing, Java aims for rigorous portability - the same ... regardless of platform. ...
    (comp.lang.c)
  • Re: Is anybodys favorite computer programming language not included here?
    ... to talk about getting me some paying work writing Java classes. ... and could be copied to a script (as in Java BeanShell or Lisp PROG). ... >> please post a followup saying what language it is, ... Server: "Mother, ...
    (comp.programming)
  • Re: Difference between .NET and Java
    ... My Java2 knowledge is ... Microsoft intermediate language is opened for language developers to ... .NET is compiled to MSIL - this is analogous to Java ... similarities between the CLR and the Win32 API. ...
    (comp.lang.java.programmer)