> Should I file a bug about this ?
File it. Access to package-private fields is a legitimate
implementation decision. It's self-defeating for Clojure to put up
obstacles when its adoption will most likely grow mixed with Java, and
for maintenance. It makes no difference if you can use reflection o
you can easily access a packaged scoped field using reflection without
having to write java. in fact there are functions in contrib to do
just that, please use them instead of writing java.
On Tue, Apr 5, 2011 at 3:18 PM, Stuart Sierra
wrote:
> It's a legitimate concern, but not necessarily a bug
It's a legitimate concern, but not necessarily a bug at this point. So it
becomes a design decision: should Clojure support access to package-scoped
fields?
Personally, my initial reaction is that it should not. Package-scoped
fields are a quirk of Java. The solution on StackOverflow is adeq