Talk:Java (programming language): Difference between revisions

Content deleted Content added
Jkominek (talk | contribs)
No edit summary
Dynamic class loading is not reflection
Line 49:
 
::Which isn't really a part of the language, as defined in http://java.sun.com/docs/books/jls/index.html Reflection is provided entirely by the class libraries. If we open it up to that, then C can do the same.
 
:::No, dynamic class loading is not reflection. Two different things. Dynamic class loading is very much a part of the Java language. See http://java.sun.com/docs/books/jls/second_edition/html/execution.doc.html#44459 It is far more pervasive and integral to Java than to C; in fact, all classes in Java are loaded dynamically.
 
:::Besides, the fact that a language feature is implemented in a library is just good design, and doesn't mean that feature isn't part of the language. For instance, would you say that variadic functions are not part of C just because you need to #include <stdarg.h> to use them? --[[User:P3d0|P3d0]] 15:52, 18 Aug 2003 (UTC)