Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mike_organon
on Jan 20, 2009
|
parent
|
context
|
favorite
| on:
Clojure: 1, Common Lisp: 0
That's just the syntax failing to support such a nice way of accessing those objects. Packages, classes, and methods are objects.
Of course, primitives are not objects, but autoboxing helps.
weavejester
on Jan 21, 2009
[–]
Sure, they're represented as objects in the JVM, and you can access this via refection; but they're not treated as objects in Java's syntax. I'd argue that OOP is a property of a language's syntax, rather than how it is internally represented.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Of course, primitives are not objects, but autoboxing helps.